Commit ad46ed7f authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

mi18n: replace a print() by raise Exception

parent eef9f47c
......@@ -237,7 +237,7 @@ class MLocale:
try:
localename = os.environ[variable]
if localename is None:
print(variable, 'is None')
raise Exception('{} is None'.format(variable))
except KeyError:
continue
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment