From bca65b79601160624b7aaa8de5701030a24ee44c Mon Sep 17 00:00:00 2001 From: Lubomír Sedlář Date: Oct 08 2019 07:39:17 +0000 Subject: Remove warning on Python 3 Signed-off-by: Lubomír Sedlář --- diff --git a/compose_utils/legacy.py b/compose_utils/legacy.py index 5810073..e024033 100644 --- a/compose_utils/legacy.py +++ b/compose_utils/legacy.py @@ -8,7 +8,7 @@ from six.moves import configparser def write_legacy_composeinfo(ci, file, extra_addon_list=None): """Write a legacy INI-style composeinfo data into `file`.""" - conf = configparser.SafeConfigParser(dict_type=SortedDict) + conf = configparser.ConfigParser(dict_type=SortedDict) _serialize_compose(conf, ci.compose) _serialize_product(conf, ci.release, ci.compose) if ci.release.is_layered: