From 99bf37302af08787bb45cfdf5d866ad05797ed57 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Sat, 15 Mar 2014 17:23:20 +0000 Subject: [PATCH] Don't skip checkupdates commits due to no message --- fdroidserver/checkupdates.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 5672e71f..cbfc6d69 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -417,12 +417,16 @@ def main(): if new_name != app['Auto Name']: app['Auto Name'] = new_name writeit = True + if not logmsg: + logmsg = "Set autoname of {0}".format(common.getappname(app)) if app['Current Version'].startswith('@string/'): cv = common.version_name(app['Current Version'], app_dir, flavour) if app['Current Version'] != cv: app['Current Version'] = cv writeit = True + if not logmsg: + logmsg = "Fix CV of {0}".format(common.getappname(app)) except Exception: logging.error("Auto Name or Current Version failed for %s due to exception: %s" % (app['id'], traceback.format_exc()))