diff --git a/slapos/recipe/softwaretype.py b/slapos/recipe/softwaretype.py index 085eb16b9c74b62cd4e8ac80f1a56f9d92626b26..3317118c4569fa3ed0f6d62ed51b613805590908 100644 --- a/slapos/recipe/softwaretype.py +++ b/slapos/recipe/softwaretype.py @@ -57,9 +57,6 @@ class SlapConfigParser(ConfigParser, object): def write(self, fp): """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})$') if self._defaults: fp.write("[%s]\n" % DEFAULTSECT)