Silly fix for cmdhandler. Should eliminate all those huh?'s.
This commit is contained in:
parent
abe17a2965
commit
1e1752bdf3
1 changed files with 3 additions and 3 deletions
|
|
@ -285,9 +285,9 @@ def handle(command):
|
||||||
(session, format_exc()))
|
(session, format_exc()))
|
||||||
# Prevent things from falling through to UnknownCommand.
|
# Prevent things from falling through to UnknownCommand.
|
||||||
raise ExitCommandHandler
|
raise ExitCommandHandler
|
||||||
|
else:
|
||||||
# If we reach this point, we haven't matched anything.
|
# If we reach this point, we haven't matched anything.
|
||||||
raise UnknownCommand
|
raise UnknownCommand
|
||||||
|
|
||||||
except ExitCommandHandler:
|
except ExitCommandHandler:
|
||||||
# When this is thrown, just get out and do nothing. It doesn't mean
|
# When this is thrown, just get out and do nothing. It doesn't mean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue