From 1e1752bdf3dcdfabeaf1899a9d75d4e6766740c7 Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Thu, 15 Jan 2009 02:39:11 +0000 Subject: [PATCH] Silly fix for cmdhandler. Should eliminate all those huh?'s. --- src/cmdhandler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmdhandler.py b/src/cmdhandler.py index 5369850762..ba8d19f608 100755 --- a/src/cmdhandler.py +++ b/src/cmdhandler.py @@ -285,9 +285,9 @@ def handle(command): (session, format_exc())) # Prevent things from falling through to UnknownCommand. raise ExitCommandHandler - - # If we reach this point, we haven't matched anything. - raise UnknownCommand + else: + # If we reach this point, we haven't matched anything. + raise UnknownCommand except ExitCommandHandler: # When this is thrown, just get out and do nothing. It doesn't mean