#105 Remove warning on Python 3
Merged 4 years ago by lsedlar. Opened 4 years ago by lsedlar.
lsedlar/compose-utils remove-warning  into  master

file modified
+1 -1
@@ -8,7 +8,7 @@ 

  

  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:

no initial comment

Pull-Request has been merged by lsedlar

4 years ago