Commit 95147721 authored by Jason R. Coombs's avatar Jason R. Coombs

Remove unnecessary list comprehension

parent a75766f5
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment