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:
commit
634466f8a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user