diff options
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/core/dispatcher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py index fe85682..72f9850 100644 --- a/src/leap/bitmask/core/dispatcher.py +++ b/src/leap/bitmask/core/dispatcher.py @@ -43,7 +43,7 @@ class SubCommand(object): subcmd = parts[1] _method = getattr(self, 'do_' + subcmd.upper(), None) except IndexError: - _method = None + raise RuntimeError('Can\'t dispatch subcommand: %s' % str(subcmd)) if not _method: raise RuntimeError('No such subcommand: ' + subcmd) |