From 821201ddd6f6b2dd901544d7216e4eb77d708b51 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Thu, 21 Oct 2010 18:47:28 -1000 Subject: [PATCH] UI tweaks --- mce.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mce.py b/mce.py index 6562f67..3b9bb5c 100755 --- a/mce.py +++ b/mce.py @@ -249,7 +249,7 @@ class mce(object): try: logging.getLogger().level = int(command[0]); except ValueError: - raise UsageError + raise UsageError, "Cannot understand numeric input." else: print "Log level: {0}".format(logging.getLogger().level) @@ -476,7 +476,7 @@ class mce(object): def _dumpsigns(self, command): """ - dumpSigns [] + dumpSigns [ ] Saves the text and location of every sign in the world to a text file. With no filename, saves signs to .signs