mirror of
https://github.com/pypiserver/pypiserver
synced 2025-02-22 19:19:37 +01:00
do not show the "no releases found on pypi" message if the list is empty
This commit is contained in:
parent
2bb4238620
commit
088e4b29aa
@ -110,8 +110,9 @@ def find_updates(pkgset, stable_only=True):
|
||||
write("\n\n")
|
||||
|
||||
no_releases = list(no_releases)
|
||||
no_releases.sort()
|
||||
sys.stdout.write("no releases found on pypi for %s\n\n" % (", ".join(no_releases),))
|
||||
if no_releases:
|
||||
no_releases.sort()
|
||||
sys.stdout.write("no releases found on pypi for %s\n\n" % (", ".join(no_releases),))
|
||||
return need_update
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user