X-Git-Url: http://git.tremily.us/?p=hooke.git;a=blobdiff_plain;f=hooke%2Fengine.py;h=e024c737357f9abc8aa9d57110c1218d4b3dc2af;hp=c7832abf4758a94e3317b55f64f92bce19214ffd;hb=7f628b00df5065d72e89cc86be596756eb9f1ac0;hpb=dac66781e1c5b23f1cee709455b3f308e365773e diff --git a/hooke/engine.py b/hooke/engine.py index c7832ab..e024c73 100644 --- a/hooke/engine.py +++ b/hooke/engine.py @@ -106,8 +106,7 @@ class CommandEngine (object): 'engine closing, placed hooke instance in return queue') break assert isinstance(msg, CommandMessage), type(msg) - log.debug('engine running %s with %s' - % (msg.command, msg.arguments)) + log.debug('engine running %s' % msg) cmd = hooke.command_by_name[msg.command] cmd.run(hooke, ui_to_command_queue, command_to_ui_queue, **msg.arguments) @@ -124,8 +123,8 @@ class CommandEngine (object): interaction. """ log = logging.getLogger('hooke') - log.debug('engine running internal %s with %s' - % (command, arguments)) + log.debug('engine running internal %s' + % CommandMessage(command, arguments)) outqueue = Queue() cmd = hooke.command_by_name[command] cmd.run(hooke, NullQueue(), outqueue, **arguments)