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
import os.path as osp
2727

28-
29-
try:
30-
import ConfigParser as cp
31-
except ImportError:
32-
# PY3
33-
import configparser as cp
28+
import configparser as cp
3429

3530

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy