From: Jean Privat Date: Wed, 15 Jan 2014 16:25:31 +0000 (-0500) Subject: checkupdates --gplay: inform if not bigger but different version X-Git-Tag: 0.1~4 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=934037fe3c07db393481a7987bb095d14666de81;p=fdroidserver.git checkupdates --gplay: inform if not bigger but different version Could be useful to detect some potential issues. eg. if comparison with LooseVersion is too lose or if there is some renumbering in the application. This is activated only if options.verbose is set Signed-off-by: Jean Privat --- diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 8adaf297..fbaf5684 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -322,8 +322,12 @@ def main(): print "%s has version %s on the Play Store, which is bigger than %s" % ( common.getappname(app), version, stored) elif options.verbose: - print "%s has the same version %s on the Play Store" % ( - common.getappname(app), version) + if stored != version: + print "%s has version %s on the Play Store, which differs from %s" % ( + common.getappname(app), version, stored) + else: + print "%s has the same version %s on the Play Store" % ( + common.getappname(app), version) return