mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
order
This commit is contained in:
parent
48212e8639
commit
08526b8524
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class _IndividualSpecifier(BaseSpecifier):
|
|||
# Determine if we should be supporting prereleases in this specifier
|
||||
# or not, if we do not support prereleases than we can short circuit
|
||||
# logic if this version is a prereleases.
|
||||
if normalized_item.is_prerelease and not prereleases:
|
||||
if not prereleases and normalized_item.is_prerelease:
|
||||
return False
|
||||
|
||||
# Actually do the comparison to determine if this item is contained
|
||||
|
|
Loading…
Reference in a new issue