1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 23:23:27 +02:00

checkupdates: log vercode operation activity

This commit is contained in:
Daniel Martí 2015-09-09 10:26:33 -07:00
parent 2fe0327beb
commit b07e6c343c

View File

@ -428,8 +428,10 @@ def checkupdates_app(app, first=True):
return checkupdates_app(app, first=False)
if version and vercode and app['Vercode Operation']:
op = app['Vercode Operation'].replace("%c", str(int(vercode)))
oldvercode = str(int(vercode))
op = app['Vercode Operation'].replace("%c", oldvercode)
vercode = str(eval(op))
logging.debug("Applied vercode operation: %s -> %s" % (oldvercode, vercode))
updating = False
if version is None: