diff --git a/core/admin/mailu/manage.py b/core/admin/mailu/manage.py index 819fe410..62f214d3 100644 --- a/core/admin/mailu/manage.py +++ b/core/admin/mailu/manage.py @@ -177,7 +177,7 @@ def config_update(verbose=False, delete_objects=False): """sync configuration with data from YAML-formatted stdin""" import yaml import sys - new_config = yaml.load(sys.stdin) + new_config = yaml.safe_load(sys.stdin) # print new_config domains = new_config.get('domains', []) tracked_domains = set()