From ce523de13b61e060e4a806e5b130eade84b60cd8 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Thu, 4 Aug 2011 14:29:09 +0200
Subject: [PATCH] Fix broken object references in docstrings
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The module is called β€œobjects”, not β€œobject”.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 lib/config.py  | 2 +-
 lib/objects.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/config.py b/lib/config.py
index af197e191..78c7b4ba8 100644
--- a/lib/config.py
+++ b/lib/config.py
@@ -189,7 +189,7 @@ class ConfigWriter:
   def GetNdParams(self, node):
     """Get the node params populated with cluster defaults.
 
-    @type node: L{object.Node}
+    @type node: L{objects.Node}
     @param node: The node we want to know the params for
     @return: A dict with the filled in node params
 
diff --git a/lib/objects.py b/lib/objects.py
index 7be9e7179..44695de07 100644
--- a/lib/objects.py
+++ b/lib/objects.py
@@ -1029,7 +1029,7 @@ class NodeGroup(TaggableObject):
       self.mtime = time.time()
 
   def FillND(self, node):
-    """Return filled out ndparams for L{object.Node}
+    """Return filled out ndparams for L{objects.Node}
 
     @type node: L{objects.Node}
     @param node: A Node object to fill
@@ -1310,7 +1310,7 @@ class Cluster(TaggableObject):
     return FillDict(result, os_params)
 
   def FillND(self, node, nodegroup):
-    """Return filled out ndparams for L{objects.NodeGroup} and L{object.Node}
+    """Return filled out ndparams for L{objects.NodeGroup} and L{objects.Node}
 
     @type node: L{objects.Node}
     @param node: A Node object to fill
-- 
GitLab