mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
checkupdates: Avoid variable/string names as CV
This commit is contained in:
parent
7a79b000bf
commit
3638acddc4
1 changed files with 6 additions and 0 deletions
|
@ -433,6 +433,12 @@ def checkupdates_app(app, first=True):
|
|||
vercode = str(eval(op))
|
||||
logging.debug("Applied vercode operation: %s -> %s" % (oldvercode, vercode))
|
||||
|
||||
if version and any(version.startswith(s) for s in [
|
||||
'${', # Gradle variable names
|
||||
'@string/', # Strings we could not resolve
|
||||
]):
|
||||
version = "Unknown"
|
||||
|
||||
updating = False
|
||||
if version is None:
|
||||
logmsg = "...{0} : {1}".format(app['id'], msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue