diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-07-28 14:12:11 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-07-28 14:12:11 +0800 |
commit | 005f81ae3daeef3575cba0fd9deb84d15eca5835 (patch) | |
tree | de0f04af415b235f7c9f72bdedec4be7dda7bbae | |
parent | 3825cb781ec13db9d4251bb9b0f24d62eecfd0cc (diff) | |
download | gitpython-005f81ae3daeef3575cba0fd9deb84d15eca5835.tar.gz |
More specific version check for ordered dict type
Related to
https://github.com/gitpython-developers/GitPython/issues/1095#issuecomment-888032424
-rw-r--r-- | git/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/config.py b/git/config.py index c4b26ba6..78b93c6f 100644 --- a/git/config.py +++ b/git/config.py @@ -41,7 +41,7 @@ if TYPE_CHECKING: T_ConfigParser = TypeVar('T_ConfigParser', bound='GitConfigParser') -if sys.version_info[:2] < (3, 7): +if sys.version_info[:3] < (3, 7, 2): from collections import OrderedDict OrderedDict_OMD = OrderedDict else: |