diff options
| author | Paul Ganssle <paul@ganssle.io> | 2018-07-10 11:16:04 -0400 |
|---|---|---|
| committer | Paul Ganssle <paul@ganssle.io> | 2018-07-10 11:52:56 -0400 |
| commit | dc9fcbd5ef343321cf29ce1e34f454dadeb59dd2 (patch) | |
| tree | de69de5d676db9caae927332b29738992bd0d4b8 /setuptools/extern | |
| parent | 54ce65990c26ff68750ae682b6bacd5eed7d56ba (diff) | |
| download | python-setuptools-git-dc9fcbd5ef343321cf29ce1e34f454dadeb59dd2.tar.gz | |
Switch over to using six.PY{2,3} when possible
Diffstat (limited to 'setuptools/extern')
| -rw-r--r-- | setuptools/extern/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/extern/__init__.py b/setuptools/extern/__init__.py index 52785a03..cb2fa329 100644 --- a/setuptools/extern/__init__.py +++ b/setuptools/extern/__init__.py @@ -48,7 +48,7 @@ class VendorImporter: # on later Python versions to cause relative imports # in the vendor package to resolve the same modules # as those going through this importer. - if sys.version_info.major >= 3: + if sys.version_info >= (3, ): del sys.modules[extant] return mod except ImportError: |
