Restore plugin setup in hooke.command.Command.__init__
authorW. Trevor King <wking@drexel.edu>
Wed, 19 May 2010 07:17:52 +0000 (03:17 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 19 May 2010 07:17:52 +0000 (03:17 -0400)
hooke/command.py

index 978c5644adc3a900dee44f4a3cb2d4d2c4173651..cb5490928caa9a309d66404379b49db2cc403fce 100644 (file)
@@ -111,7 +111,7 @@ class Command (object):
                      help='Print a help message.'),
             ] + arguments
         self._help = help
-        self.plugin = None
+        self.plugin = plugin
 
     def run(self, hooke, inqueue=None, outqueue=None, **kwargs):
         """`Normalize inputs and handle <Argument help> before punting