diff commandparser/command.py @ 5:005e073dc590

basic POC
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 30 Mar 2012 09:53:58 -0700
parents 5f31e56eebb6
children 109627b7db9f
line wrap: on
line diff
--- a/commandparser/command.py	Fri Mar 30 09:46:46 2012 -0700
+++ b/commandparser/command.py	Fri Mar 30 09:53:58 2012 -0700
@@ -159,12 +159,12 @@
         else:
             args = argspec.args[1:]
             optional = None
-        command = { 'doc': doc,
-                     'name': name,
-                     'args': args,
-                     'optional': optional,
-                     'varargs': argspec.varargs
-                     }
+        command = {'doc': doc,
+                   'name': name,
+                   'args': args,
+                   'optional': optional,
+                   'varargs': argspec.varargs
+                   }
         return command
 
     def commandargs2str(self, command):