update-python-libraries script: don't forget to break when we actually find an update

This commit is contained in:
Frederik Rietdijk 2017-07-17 10:34:57 +02:00
parent c0cf19608f
commit d2aa638ee2

View File

@ -91,6 +91,7 @@ def _get_latest_version_pypi(package, extension):
if release['filename'].endswith(extension):
# TODO: In case of wheel we need to do further checks!
sha256 = release['digests']['sha256']
break
else:
sha256 = None
return version, sha256