소스 검색

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

Gary van der Merwe 10 년 전
부모
커밋
d6071579d5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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