Skip to content

Commit

Permalink
Fix: 'shell' used as condition in 'mode' not returned in get_child_ac…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
kozec committed Dec 15, 2018
1 parent 051bc18 commit 1663716
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scc/modifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,10 +847,10 @@ def make_checks(self):


def get_child_actions(self):
if self.default is None:
return self.mods.values()
else:
return [ self.default ] + self.mods.values()
rv = list(self.mods.values()) + list(self.shell_commands.values())
if self.default is not None:
rv += [ self.default ]
return rv


@staticmethod
Expand Down

0 comments on commit 1663716

Please sign in to comment.