Always read InstallRequirement.extras

This commit is contained in:
Tzu-ping Chung 2020-05-21 20:32:05 +08:00
parent 9999f0ec09
commit d848ee934d
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class SpecifierRequirement(Requirement):
assert ireq.link is None, "This is a link, not a specifier"
self._ireq = ireq
self._factory = factory
self.extras = ireq.req.extras
self.extras = set(ireq.extras)
def __str__(self):
# type: () -> str