UI tweaks

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

4
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)
@ -476,7 +476,7 @@ class mce(object):
def _dumpsigns(self, command): def _dumpsigns(self, command):
""" """
dumpSigns [<filename>] dumpSigns [ <filename> ]
Saves the text and location of every sign in the world to a text file. Saves the text and location of every sign in the world to a text file.
With no filename, saves signs to <worldname>.signs With no filename, saves signs to <worldname>.signs