diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-05 03:32:48 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-05 03:32:48 -0400 |
| commit | 951477214f1321a199bf69f9edaea05dec9345d1 (patch) | |
| tree | f5782ba3c846e5cfde7d7858021394a02c8ed242 | |
| parent | a75766f574957e58e732901426b9aa60f2b9ac61 (diff) | |
| download | python-setuptools-git-951477214f1321a199bf69f9edaea05dec9345d1.tar.gz | |
Remove unnecessary list comprehension
| -rw-r--r-- | pkg_resources.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg_resources.py b/pkg_resources.py index 8aa3d339..b4e38ddb 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -2655,10 +2655,10 @@ class Requirement: self.index, self.extras = index, tuple(map(safe_extra, extras)) self.hashCmp = ( self.key, - tuple([ + tuple( (op, parsed) for parsed, trans, op, ver in index - ]), + ), frozenset(self.extras), ) self.__hash = hash(self.hashCmp) |
