Commit 2378b243 authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

recipe/softwaretype: remove wrong condition on Python version

parent ec5b5a22
...@@ -57,9 +57,6 @@ class SlapConfigParser(ConfigParser, object): ...@@ -57,9 +57,6 @@ class SlapConfigParser(ConfigParser, object):
def write(self, fp): def write(self, fp):
"""Write an .ini-format representation of the configuration state.""" """Write an .ini-format representation of the configuration state."""
if sys.version_info[0] > 2:
return super(SlapConfigParser, self).write(fp)
regex = re.compile(r'^(.*)\s+([+-]{1})$') regex = re.compile(r'^(.*)\s+([+-]{1})$')
if self._defaults: if self._defaults:
fp.write("[%s]\n" % DEFAULTSECT) fp.write("[%s]\n" % DEFAULTSECT)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment