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:
parent
867f5f91dc
commit
ce690c379e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user