From ba2b236e7b18d677f464a48666e67474e4638ae3 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Tue, 18 May 2021 10:20:12 +0200 Subject: [PATCH] Drop unused package id check --- fdroidserver/checkupdates.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 4d2e45ef..3037fc58 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -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)