Fix a couple of epydoc warnings
authorIustin Pop <iustin@google.com>
Tue, 20 Jan 2009 14:20:03 +0000 (14:20 +0000)
committerIustin Pop <iustin@google.com>
Tue, 20 Jan 2009 14:20:03 +0000 (14:20 +0000)
Reviewed-by: ultrotter

lib/opcodes.py
scripts/gnt-instance

index 6848c4e..36939d4 100644 (file)
@@ -419,7 +419,7 @@ class OpMigrateInstance(OpCode):
   This migrates (without shutting down an instance) to its secondary
   node.
 
-  @var instance_name: the name of the instance
+  @ivar instance_name: the name of the instance
 
   """
   OP_ID = "OP_INSTANCE_MIGRATE"
index f1063d8..369ae34 100755 (executable)
@@ -826,11 +826,11 @@ def MigrateInstance(opts, args):
 
   The migrate is done without shutdown.
 
-  Args:
-    opts - class with options as members
-    args - list with a single element, the instance name
-  Opts used:
-    force - whether to migrate without asking questions.
+  @param opts: the command line options selected by the user
+  @type args: list
+  @param args: should contain only one element, the instance name
+  @rtype: int
+  @return: the desired exit code
 
   """
   instance_name = args[0]