From cfda0e48eb3238187dbb74bb56d54ca87747684c Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Fri, 18 Mar 2011 11:22:39 +0100
Subject: [PATCH] RAPI client: fix epydoc formatting

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 lib/rapi/client.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/rapi/client.py b/lib/rapi/client.py
index d9e4fa2a9..cec2b31d7 100644
--- a/lib/rapi/client.py
+++ b/lib/rapi/client.py
@@ -1165,10 +1165,10 @@ class GanetiRapiClient(object): # pylint: disable-msg=R0904
   def WaitForJobCompletion(self, job_id, period=5, retries=-1):
     """Polls cluster for job status until completion.
 
-    Completion is defined as any of the following states:
-      "error", "canceled", or "success"
+    Completion is defined as any of the following states: "error",
+    "canceled", or "success".
 
-    @type job_id: int
+    @type job_id: string
     @param job_id: job id to watch
 
     @type period: int
@@ -1180,6 +1180,7 @@ class GanetiRapiClient(object): # pylint: disable-msg=R0904
 
     @rtype: bool
     @return: True if job succeeded or False if failed/status timeout
+
     """
     while retries != 0:
       job_result = self.GetJobStatus(job_id)
-- 
GitLab