chiark / gitweb /
checkupdates --gplay: missing reason crashes print
authorJean Privat <jean@pryen.org>
Wed, 15 Jan 2014 13:58:50 +0000 (08:58 -0500)
committerJean Privat <jean@pryen.org>
Wed, 15 Jan 2014 14:03:09 +0000 (09:03 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
fdroidserver/checkupdates.py

index 00ea0146baa09f39a2b2349a62748bc1f512d81e..94dbd2980119675e3b4ced8f1db7c4d9ac9857f9 100644 (file)
@@ -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):