projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd3bc56
)
Oops, the CommandMessage.explicit_user_call, not Command.explicit_user_call.
author
W. Trevor King
<wking@drexel.edu>
Fri, 27 Aug 2010 19:20:22 +0000
(15:20 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 27 Aug 2010 19:20:22 +0000
(15:20 -0400)
Fixes bug from
daf1c9f9c8e1
.
hooke/plugin/command_stack.py
patch
|
blob
|
history
diff --git
a/hooke/plugin/command_stack.py
b/hooke/plugin/command_stack.py
index b5c987cdc94632c4ce2c5358e4ccb0ce1e69c3da..3dfc731cd423d23e3d369b3ca7684dfa31bef44e 100644
(file)
--- a/
hooke/plugin/command_stack.py
+++ b/
hooke/plugin/command_stack.py
@@
-81,7
+81,7
@@
class CaptureCommand (CommandStackCommand):
return
assert isinstance(msg, CommandMessage), type(msg)
cmd = hooke.command_by_name[msg.command]
- if (
cmd
.explicit_user_call == False
+ if (
msg
.explicit_user_call == False
or isinstance(cmd, CommandStackCommand)):
if isinstance(cmd, StopCaptureCommand):
outqueue = Queue() # Grab StopCaptureCommand's completion.