Use raw configuration parser.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Aug 2014 14:33:48 +0000 (14:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Aug 2014 14:33:48 +0000 (14:33 +0000)
Using special python formatting characters like the percent
symbol (%) was not possible.

src/ddns/__init__.py

index 6fe3a33..fbebc0e 100644 (file)
@@ -85,7 +85,7 @@ class DDNSCore(object):
        def load_configuration(self, filename):
                logger.debug(_("Loading configuration file %s") % filename)
 
-               configs = ConfigParser.SafeConfigParser()
+               configs = ConfigParser.RawConfigParser()
                configs.read([filename,])
 
                # First apply all global configuration settings.