1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Don't pass root_dir to scan_source

This commit is contained in:
mimi89999 2017-05-25 20:11:14 +02:00
parent fe2d65df73
commit 2626858450
No known key found for this signature in database
GPG Key ID: 4B054AC4922D7B18

View File

@ -494,7 +494,7 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
else:
# Scan before building...
logging.info("Scanning source for common problems...")
count = scanner.scan_source(build_dir, root_dir, build)
count = scanner.scan_source(build_dir, build)
if count > 0:
if force:
logging.warn('Scanner found %d problems' % count)