mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
checkupdates: Avoid variable/string names as CV
This commit is contained in:
parent
7a79b000bf
commit
3638acddc4
@ -433,6 +433,12 @@ def checkupdates_app(app, first=True):
|
|||||||
vercode = str(eval(op))
|
vercode = str(eval(op))
|
||||||
logging.debug("Applied vercode operation: %s -> %s" % (oldvercode, vercode))
|
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
|
updating = False
|
||||||
if version is None:
|
if version is None:
|
||||||
logmsg = "...{0} : {1}".format(app['id'], msg)
|
logmsg = "...{0} : {1}".format(app['id'], msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user