Merge "Use ConfigParser instead of SafeConfigParser"

This commit is contained in:
Jenkins
2016-09-30 22:52:08 +00:00
committed by Gerrit Code Review

View File

@@ -63,7 +63,7 @@ class ContainerSyncRealms(object):
if mtime != self.conf_path_mtime: if mtime != self.conf_path_mtime:
self.conf_path_mtime = mtime self.conf_path_mtime = mtime
try: try:
conf = configparser.SafeConfigParser() conf = configparser.ConfigParser()
conf.read(self.conf_path) conf.read(self.conf_path)
except configparser.ParsingError as err: except configparser.ParsingError as err:
self.logger.error( self.logger.error(