1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00

Removed blanks at end of line

This commit is contained in:
Ross Wilson 2015-10-15 12:37:14 +07:00
parent 867f5f91dc
commit ce690c379e

View File

@ -100,7 +100,7 @@ class Log(object):
def check_level(self, level):
"""Check the level value for legality.
If 'level' is invalid, raise Exception. If valid, return value.
"""
@ -112,8 +112,8 @@ class Log(object):
raise Exception(msg)
if not 0 <= level <= 50:
msg = "Logging level invalid: '%s'" % str(level)
print(msg)
msg = "Logging level invalid: '%s'" % str(level)
print(msg)
raise Exception(msg)
return level