projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f73727
)
Don't process unhandled arguments (e.g. 'driver') in HookeFrame.execute_command
author
W. Trevor King
<wking@drexel.edu>
Sat, 14 Aug 2010 08:20:33 +0000
(
04:20
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 14 Aug 2010 08:20:33 +0000
(
04:20
-0400)
hooke/ui/gui/__init__.py
patch
|
blob
|
history
diff --git
a/hooke/ui/gui/__init__.py
b/hooke/ui/gui/__init__.py
index 782691f181f8d75f57326504ca61531fa802529d..3d8a92da898a7db51611d98bc2aa2d09803f90e9 100644
(file)
--- a/
hooke/ui/gui/__init__.py
+++ b/
hooke/ui/gui/__init__.py
@@
-321,6
+321,8
@@
class HookeFrame (wx.Frame):
index = int(name[len(arg.name):])
args[arg.name][index] = value
for arg in command.arguments:
+ if arg.name not in args:
+ continue # undisplayed argument, e.g. 'driver' types.
count = arg.count
if hasattr(arg, '_display_count'): # support HACK in props_from_argument()
count = arg._display_count