Explorar o código

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

Gary van der Merwe %!s(int64=10) %!d(string=hai) anos
pai
achega
d6071579d5
Modificáronse 1 ficheiros con 1 adicións e 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