mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-19 03:30:12 +02:00
checkupdates --gplay: handle the case when Current Version is empty
Signed-off-by: Jean Privat <jean@pryen.org>
This commit is contained in:
parent
0a34765461
commit
01c45a054d
@ -314,7 +314,11 @@ def main():
|
||||
print "%s encountered a problem: %s" % (common.getappname(app), reason)
|
||||
if version is not None:
|
||||
stored = app['Current Version']
|
||||
if LooseVersion(stored) < LooseVersion(version):
|
||||
if stored == '':
|
||||
if options.verbose:
|
||||
print "%s has no Current Version but has version %s on the Play Store" % (
|
||||
common.getappname(app), version)
|
||||
elif LooseVersion(stored) < LooseVersion(version):
|
||||
print "%s has version %s on the Play Store, which is bigger than %s" % (
|
||||
common.getappname(app), version, stored)
|
||||
elif options.verbose:
|
||||
|
Loading…
Reference in New Issue
Block a user