mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
scanner: fix build_dir type
This commit is contained in:
parent
745f01a96c
commit
9b633fb827
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue