From af9fb4cc1aaca5fa1d06161d766a3eb21a40c45c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Nussbaumer?= <rn@google.com> Date: Thu, 10 May 2012 13:53:56 +0200 Subject: [PATCH] apidoc: Fix some typos and errors introduced by my previous patches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RenΓ© Nussbaumer <rn@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/cmdlib.py | 2 +- lib/config.py | 4 ++-- lib/objects.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 21df7fc78..8d9931cd8 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -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) diff --git a/lib/config.py b/lib/config.py index 290b43e19..33d1b1e7f 100644 --- a/lib/config.py +++ b/lib/config.py @@ -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 diff --git a/lib/objects.py b/lib/objects.py index f67823a56..8cc31e794 100644 --- a/lib/objects.py +++ b/lib/objects.py @@ -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 -- GitLab