projects
/
hooke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added hooke.plugin.playlist.ApplyCommandStack and related changes.
[hooke.git]
/
hooke
/
engine.py
diff --git
a/hooke/engine.py
b/hooke/engine.py
index c7832abf4758a94e3317b55f64f92bce19214ffd..e024c737357f9abc8aa9d57110c1218d4b3dc2af 100644
(file)
--- 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)
'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)
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')
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)
outqueue = Queue()
cmd = hooke.command_by_name[command]
cmd.run(hooke, NullQueue(), outqueue, **arguments)