Permalink
Browse files

rename

  • Loading branch information...
1 parent 1bd6450 commit 9a12ca7cd9ce28e730c1990df668102a829a7e2f Thomas Vander Stichele committed Sep 11, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 python/mushin/command/main.py
@@ -463,17 +463,18 @@ def handleOptions(self, options):
def do(self, args):
# start a command line interpreter
- class MyCmdInterpreter(manholecmd.CmdInterpreter):
+ class MushinCmdInterpreter(manholecmd.CmdInterpreter, log.Loggable):
cmdClass = logcommand.command.commandToCmdClass(self)
cmdClass.prompt = 'GTD> '
- class MyCmdManhole(manholecmd.CmdManhole):
- interpreterClass = MyCmdInterpreter
+ class MushinCmdManhole(manholecmd.CmdManhole, log.Loggable):
+ interpreterClass = MushinCmdInterpreter
self.deferred = defer.Deferred()
self._stdio.setup()
- self._stdio.connect(MyCmdManhole, connectionLostDeferred=self.deferred)
+ self._stdio.connect(MushinCmdManhole,
+ connectionLostDeferred=self.deferred)
# we should expect error.ConnectionDone as a normal exit condition
def eb(failure):

0 comments on commit 9a12ca7

Please sign in to comment.