mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 07:22:29 +03:00
Revert "Ignore non version number entries in build_tools_path"
This reverts commit 5c36f84430
.
This commit is contained in:
parent
2cca336a29
commit
4d78d79280
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ def find_apksigner():
|
|||
if not os.path.isdir(build_tools_path):
|
||||
return None
|
||||
for f in sorted(os.listdir(build_tools_path), reverse=True):
|
||||
if not os.path.isdir(os.path.join(build_tools_path, f)) or not isinstance(LooseVersion(f), int):
|
||||
if not os.path.isdir(os.path.join(build_tools_path, f)):
|
||||
continue
|
||||
if LooseVersion(f) < LooseVersion(MINIMUM_APKSIGNER_BUILD_TOOLS_VERSION):
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue