diff sat/memory/memory.py @ 3031:98d1f34ce5b9

tools (config), memory: renamed SafeConfigParser following Python 3 port
author Goffi <goffi@goffi.org>
date Fri, 16 Aug 2019 17:06:43 +0200
parents ab2696e34d29
children fee60f17ebac
line wrap: on
line diff
--- a/sat/memory/memory.py	Fri Aug 16 14:14:19 2019 +0200
+++ b/sat/memory/memory.py	Fri Aug 16 17:06:43 2019 +0200
@@ -26,7 +26,7 @@
 import os.path
 import copy
 from collections import namedtuple
-from configparser import SafeConfigParser, NoOptionError, NoSectionError
+from configparser import ConfigParser, NoOptionError, NoSectionError
 from uuid import uuid4
 from twisted.python import failure
 from twisted.internet import defer, reactor, error
@@ -229,7 +229,7 @@
 
     @param silent (boolean): toggle logging output (must be True when called from sat.sh)
     """
-    user_config = SafeConfigParser()
+    user_config = ConfigParser()
     try:
         user_config.read(C.CONFIG_FILES)
     except: