__raw_msg__ -> raw_msg

This commit is contained in:
Alexandre Aubin 2018-12-14 14:20:37 +00:00
parent df7ee42254
commit fddf64a20d

View file

@ -412,8 +412,8 @@ def clean_session(session_id, profiles=[]):
class MoulinetteError(StandardError):
"""Moulinette base exception"""
def __init__(self, key, __raw_msg__=False, *args, **kwargs):
if __raw_msg__:
def __init__(self, key, raw_msg=False, *args, **kwargs):
if raw_msg:
msg = key
else:
msg = moulinette.m18n.g(key, *args, **kwargs)