[Yt-svn] yt-commit r1243 - trunk/yt

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Tue Mar 31 12:49:44 PDT 2009


Author: mturk
Date: Tue Mar 31 12:49:44 2009
New Revision: 1243
URL: http://yt.spacepope.org/changeset/1243

Log:
Changed the command usage for rpdb



Modified:
   trunk/yt/commands.py

Modified: trunk/yt/commands.py
==============================================================================
--- trunk/yt/commands.py	(original)
+++ trunk/yt/commands.py	Tue Mar 31 12:49:44 2009
@@ -283,18 +283,18 @@
         import yt.raven.VTKInterface
         yt.raven.VTKInterface.run_vtk()
 
-    def do_rpdb(self, subcmd, opts, arg):
+    def do_rpdb(self, subcmd, opts, task):
         """
         Connect to a currently running (on localhost) rpd session.
 
         Commands run with --rpdb will trigger an rpdb session with any
         uncaught exceptions.
 
-        ${cmd_usage} [TASK_NUMER]
+        ${cmd_usage} 
         ${cmd_option_list}
         """
         import rpdb
-        rpdb.run_rpdb(int(arg))
+        rpdb.run_rpdb(int(task))
 
 
     @cmdln.option("-o", "--output", action="store", type="string",



More information about the yt-svn mailing list