Fix Command._run signatures in hooke.command and hooke.ui.commandline.
[hooke.git] / hooke / ui / commandline.py
index 005e039724eac468ba2b4f3c019df8fd29913f70..c5f3353b000d71a9e8dd8652dda0b6e09492efc1 100644 (file)
@@ -290,7 +290,7 @@ class LocalHelpCommand (Command):
                      help='The name of the command you want help with.')
             ]
 
-    def _run(self, commands, inqueue, outqueue, params):
+    def _run(self, hooke, inqueue, outqueue, params):
         raise NotImplementedError # cmd.Cmd already implements .do_help()
 
 class LocalExitCommand (Command):
@@ -307,7 +307,7 @@ typing mistakes ;).
 """.strip()),
                 ])
 
-    def _run(self, commands, inqueue, outqueue, params):
+    def _run(self, hooke, inqueue, outqueue, params):
         """The guts of the `do_exit/_quit/_EOF` commands.
 
         A `True` return stops :meth:`.cmdloop` execution.