Fixed a bug with red_button introduced in a previous revision. Resolves issue95.

This commit is contained in:
Griatch 2010-09-02 07:48:39 +00:00
parent 900f6da80f
commit e114c33d8a
4 changed files with 12 additions and 9 deletions

View file

@ -117,7 +117,7 @@ def get_and_merge_cmdsets(caller):
# Merge all command sets into one
# (the order matters, the higher-prio cmdsets are merged last)
cmdset = caller_cmdset
for obj_cmdset in local_objects_cmdsets:
for obj_cmdset in [obj_cmdset for obj_cmdset in local_objects_cmdsets if obj_cmdset]:
# Here only, object cmdsets are merged with duplicates=True
# (or we would never be able to differentiate between objects)
try: