diff --git a/gen_config.py b/gen_config.py index 210c3429313cfed6b34d66fe4252e77811f455ec..c3ff0a2b5b8269ab7aca76c5d359757f631401ed 100755 --- a/gen_config.py +++ b/gen_config.py @@ -9,9 +9,9 @@ import json import mpildap def err(msg): - print(msg, file=sys.stderr) + print('ERROR: '+msg, file=sys.stderr) def warn(msg): - print(msg, file=sys.stderr) + print('WARNING: '+msg, file=sys.stderr) def info(msg): print(msg) @@ -75,7 +75,7 @@ for k in 'umbrella_list topics emergency personalize member_moderation_action we continue if isinstance(value, str): value = value.replace('\n', '\\n') - warn(f'WARNING: "{k}" is set (or non-default), automatic migration not support, please fix manually: "{value}"') + warn(f'"{k}" is set (or non-default), automatic migration not support, please fix manually: "{value}"') xml = ET.Element("list")