UI tweaks

This commit is contained in:
David Vierra 2010-10-21 18:47:28 -10:00
parent 25ad51c8cb
commit 821201ddd6

2
mce.py
View File

@ -249,7 +249,7 @@ class mce(object):
try: try:
logging.getLogger().level = int(command[0]); logging.getLogger().level = int(command[0]);
except ValueError: except ValueError:
raise UsageError raise UsageError, "Cannot understand numeric input."
else: else:
print "Log level: {0}".format(logging.getLogger().level) print "Log level: {0}".format(logging.getLogger().level)