Parcourir la source

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

Gary van der Merwe il y a 10 ans
Parent
commit
d6071579d5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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