From 6af6270ac63a00a3946d0ad4c633f248a0a0c7f3 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Sun, 19 Jul 2009 16:40:57 +0200 Subject: [PATCH] Fix a couple of epydoc warnings It seems epydoc needs fully-qualified references, and doesn't deal with relative ones (not even in the current module) if there are any ambiguities. There are other epydoc warnings, in the rapi docstrings, but those are left as-is as they're removed in 2.1. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- lib/rpc.py | 4 ++-- scripts/gnt-instance | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rpc.py b/lib/rpc.py index 958ae8b21..b654f6f1d 100644 --- a/lib/rpc.py +++ b/lib/rpc.py @@ -289,7 +289,7 @@ class RpcRunner(object): def _ConnectList(self, client, node_list, call): """Helper for computing node addresses. - @type client: L{Client} + @type client: L{ganeti.rpc.Client} @param client: a C{Client} instance @type node_list: list @param node_list: the node list we should connect @@ -319,7 +319,7 @@ class RpcRunner(object): def _ConnectNode(self, client, node, call): """Helper for computing one node's address. - @type client: L{Client} + @type client: L{ganeti.rpc.Client} @param client: a C{Client} instance @type node: str @param node: the node we should connect diff --git a/scripts/gnt-instance b/scripts/gnt-instance index e5ca57507..cde22bf58 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -160,7 +160,7 @@ def _EnsureInstancesExist(client, names): This function will raise an OpPrereqError in case they don't exist. Otherwise it will exit cleanly. - @type client: L{luxi.Client} + @type client: L{ganeti.luxi.Client} @param client: the client to use for the query @type names: list @param names: the list of instance names to query -- GitLab