chiark / gitweb /
Don't pass root_dir to scan_source
authormimi89999 <michel@lebihan.pl>
Thu, 25 May 2017 18:11:14 +0000 (20:11 +0200)
committermimi89999 <michel@lebihan.pl>
Thu, 25 May 2017 18:11:14 +0000 (20:11 +0200)
fdroidserver/build.py

index fbf9c54947723b2428743fecdde421d9bbfdb2e0..f2fbad046e68e64216b657803a1d1c3f87cf07e0 100644 (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)