]> git.ipfire.org Git - oddments/ddns.git/commitdiff
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 6fe3a33652683f52ac95d901947a29f70672c111..fbebc0ef0ad9a91aade2dfd208bc516000c333c0 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.