Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e99d9a

Browse files
committed
Fixed config module which forgot to call the superclass's initializer, finally causing failure in python 2.6
1 parent d9671e1 commit 4e99d9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/git/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def __init__(self, file_or_files, read_only=True):
116116
If True, the ConfigParser may only read the data , but not change it.
117117
If False, only a single file path or file object may be given.
118118
"""
119+
super(GitConfigParser, self).__init__()
119120
# initialize base with ordered dictionaries to be sure we write the same
120121
# file back
121122
self._sections = OrderedDict()

0 commit comments

Comments
 (0)