Skip to content

Commit d3fabed

Browse files
Harmon758Byron
authored andcommitted
Remove attempt to import ConfigParser for Python 2
1 parent 00ef693 commit d3fabed

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

‎git/config.py‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@
2525

2626
importos.pathasosp
2727

28-
29-
try:
30-
importConfigParserascp
31-
exceptImportError:
32-
# PY3
33-
importconfigparserascp
28+
importconfigparserascp
3429

3530

3631
__all__= ('GitConfigParser', 'SectionConstraint')

0 commit comments

Comments
(0)