mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
checkupdates: log vercode operation activity
This commit is contained in:
parent
2fe0327beb
commit
b07e6c343c
1 changed files with 3 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue