1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-10 17:30:11 +01:00

Merge branch 'lock' into 'master'

scanner: fix build_dir type

See merge request fdroid/fdroidserver!1515
This commit is contained in:
Hans-Christoph Steiner 2024-09-04 16:08:04 +00:00
commit 634466f8a5

View File

@ -817,7 +817,7 @@ def scan_source(build_dir, build=metadata.Build(), json_per_build=None):
elif curfile in DEPFILE:
d = root
while d.startswith(build_dir):
while d.startswith(str(build_dir)):
for lockfile in DEPFILE[curfile]:
if os.path.isfile(os.path.join(d, lockfile)):
break