From 76c1c8dd13806d88231c110c47468c71d4b370f1 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 28 Jul 2021 14:14:58 +0800 Subject: Revert "More specific version check for ordered dict type" This reverts commit 005f81ae3daeef3575cba0fd9deb84d15eca5835. --- git/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/config.py') diff --git a/git/config.py b/git/config.py index 78b93c6f..c4b26ba6 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[:3] < (3, 7, 2): +if sys.version_info[:2] < (3, 7): from collections import OrderedDict OrderedDict_OMD = OrderedDict else: -- cgit v1.2.1