diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-01-26 14:30:34 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-01-26 14:30:34 -0500 |
| commit | e01792ec62653b00b6d1c25e1ca0d10d22c1b6b9 (patch) | |
| tree | 48b127f7bb46900bded0679c411510ba09623285 | |
| parent | 634b0aefca69d135dd5226a44fac4c44a47c328d (diff) | |
| download | python-setuptools-git-e01792ec62653b00b6d1c25e1ca0d10d22c1b6b9.tar.gz | |
Combine redundant imports of future functionality
| -rw-r--r-- | pkg_resources/__init__.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index 3ecf4c64..2ba5ca42 100644 --- a/pkg_resources/__init__.py +++ b/pkg_resources/__init__.py @@ -46,7 +46,7 @@ except ImportError: import imp as _imp from pkg_resources.extern import six -from pkg_resources.extern.six.moves import urllib, map +from pkg_resources.extern.six.moves import urllib, map, filter # capture these to bypass sandboxing from os import utime @@ -77,9 +77,6 @@ __import__('pkg_resources.extern.packaging.version') __import__('pkg_resources.extern.packaging.specifiers') -filter = six.moves.filter -map = six.moves.map - if (3, 0) < sys.version_info < (3, 3): msg = ( "Support for Python 3.0-3.2 has been dropped. Future versions " |
