Skip to content

Commit 005f81a

Browse files
committed
More specific version check for ordered dict type
Related to #1095 (comment)
1 parent 3825cb7 commit 005f81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
T_ConfigParser = TypeVar('T_ConfigParser', bound='GitConfigParser')
4343

44-
if sys.version_info[:2] < (3, 7):
44+
if sys.version_info[:3] < (3, 7, 2):
4545
from collections import OrderedDict
4646
OrderedDict_OMD = OrderedDict
4747
else:

0 commit comments

Comments
 (0)