1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-08-15 10:50:09 +02:00

Drop unused package id check

This commit is contained in:
Jochen Sprickerhof 2021-05-18 10:20:12 +02:00
parent d05ff9db1d
commit ba2b236e7b

View File

@ -130,7 +130,6 @@ def check_tags(app, pattern):
try_init_submodules(app, last_build, vcs)
hpak = None
htag = None
hver = None
hcode = "0"
@ -171,13 +170,10 @@ def check_tags(app, pattern):
.format(subdir, version, vercode))
i_vercode = common.version_code_string_to_int(vercode)
if i_vercode > common.version_code_string_to_int(hcode):
hpak = package
htag = tag
hcode = str(i_vercode)
hver = version
if not hpak:
return (None, "Couldn't find package ID", None)
if hver:
return (hver, hcode, htag)
return (None, "Couldn't find any version information", None)