apidoc: Fix some typos and errors introduced by my previous patches
authorRené Nussbaumer <rn@google.com>
Thu, 10 May 2012 11:53:56 +0000 (13:53 +0200)
committerRené Nussbaumer <rn@google.com>
Thu, 10 May 2012 11:56:10 +0000 (13:56 +0200)
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/cmdlib.py
lib/config.py
lib/objects.py

index 21df7fc..8d9931c 100644 (file)
@@ -4530,7 +4530,7 @@ def _BlockdevFind(lu, node, dev, instance):
 
 
 def _CheckDiskConsistency(lu, instance, dev, node, on_primary, ldisk=False):
-  """Wrapper around L{_CheckDiskConistencyInner}.
+  """Wrapper around L{_CheckDiskConsistencyInner}.
 
   """
   (disk,) = _AnnotateDiskParams(instance, [dev], lu.cfg)
index 290b43e..33d1b1e 100644 (file)
@@ -248,7 +248,7 @@ class ConfigWriter:
   def GetGroupDiskParams(self, group):
     """Get the disk params populated with inherit chain.
 
-    @type group: L{objects.Group}
+    @type group: L{objects.NodeGroup}
     @param group: The group we want to know the params for
     @return: A dict with the filled in disk params
 
@@ -258,7 +258,7 @@ class ConfigWriter:
   def _UnlockedGetGroupDiskParams(self, group):
     """Get the disk params populated with inherit chain down to node-group.
 
-    @type group: L{objects.Group}
+    @type group: L{objects.NodeGroup}
     @param group: The group we want to know the params for
     @return: A dict with the filled in disk params
 
index f67823a..8cc31e7 100644 (file)
@@ -115,7 +115,7 @@ def FillIPolicy(default_ipolicy, custom_ipolicy, skip_keys=None):
 def FillDiskParams(default_dparams, custom_dparams, skip_keys=None):
   """Fills the disk parameter defaults.
 
-  @see FillDict: For parameters and return value
+  @see: L{FillDict} for parameters and return value
 
   """
   assert frozenset(default_dparams.keys()) == constants.DISK_TEMPLATES