self.cmd.stdout.write(str(e).lstrip()+'\n')
self.cmd.stdout.write('Failure\n')
return
- self.log.debug('executing %s with %s' % (self.command.name, args))
- self.cmd.inqueue.put(CommandMessage(self.command.name, args))
+ cm = CommandMessage(self.command.name, args)
+ self.log.debug('executing %s' % cm)
+ self.cmd.inqueue.put(cm)
while True:
msg = self.cmd.outqueue.get()
if isinstance(msg, Exit):