We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6631ea1 commit 6a1c8a2Copy full SHA for 6a1c8a2
1 file changed
src/manage/install_command.py
@@ -79,8 +79,8 @@ def select_package(index_downloader, tag, platform=None, *, urlopen=_urlopen, by
79
if allow_pre or not v["sort-version"].is_prerelease:
80
return v
81
v = index.find_to_install(tag)
82
- if v["sort-version"].is_prerelease and not allow_prerelease:
83
- raise LookupError(f"Found '{}' matching '{}' but excluded "
+ if v["sort-version"].is_prerelease and not allow_pre:
+ raise LookupError("Found '{}' matching '{}' but excluded "
84
"because we are now allowing prereleases.".format(
85
v["display-name"], tag))
86
0 commit comments