diff --git a/osc/OscConfigParser.py b/osc/OscConfigParser.py index 1a738ff2..90fa94e5 100644 --- a/osc/OscConfigParser.py +++ b/osc/OscConfigParser.py @@ -168,8 +168,6 @@ class OptionLine(Line): def format(self, line): mo = ConfigParser.ConfigParser.OPTCRE.match(line.strip()) key, val = mo.group('option', 'value') - # escape all occurrences of '%' otherwise string formatting will fail - line = line.replace('%', '%%') self.frmt = line.replace(key.strip(), '%s', 1) pos = val.find(' ;') if pos >= 0: