Explorar el Código

Don't use ConfigParser(allow_no_value=True) as it's not supported on Python2.6

Gary van der Merwe hace 10 años
padre
commit
d6071579d5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dulwich/contrib/swift.py

+ 1 - 1
dulwich/contrib/swift.py

@@ -162,7 +162,7 @@ def load_conf(path=None, file=None):
     :param path: The path to the configuration file
     :param file: If provided read instead the file like object
     """
-    conf = ConfigParser(allow_no_value=True)
+    conf = ConfigParser()
     if file:
         conf.readfp(file)
         return conf