1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-04 16:30:12 +02:00

[checkupdates] make no version information an error

This commit is contained in:
Jochen Sprickerhof 2021-07-29 11:38:15 +02:00
parent 58dcb4c2a0
commit 16f8d50194

View File

@ -456,7 +456,7 @@ def checkupdates_app(app):
updating = False
if version is None:
logging.warning('no version information found for {appid}'.format(appid=app.id))
raise FDroidException(_('no version information found'))
elif vercode == app.CurrentVersionCode:
logging.debug("...up to date")
elif int(vercode) > int(app.CurrentVersionCode):