From: Jean Privat Date: Wed, 15 Jan 2014 13:58:50 +0000 (-0500) Subject: checkupdates --gplay: missing reason crashes print X-Git-Tag: 0.1~8 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ff523a6425c204be34869abc7377bb6a110994ee;p=fdroidserver.git checkupdates --gplay: missing reason crashes print Signed-off-by: Jean Privat --- diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 00ea0146..94dbd298 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -311,7 +311,7 @@ def main(): if reason == '404': print "%s is not in the Play Store" % common.getappname(app) else: - print "%s encountered a problem: %s" % common.getappname(app) + print "%s encountered a problem: %s" % (common.getappname(app), reason) if version is not None: stored = app['Current Version'] if LooseVersion(stored) < LooseVersion(version):