From b110b315e2bec7fb9629ca176b5bb59a05b70f2f Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Mon, 17 Aug 2020 23:13:13 -0700 Subject: [PATCH] Fix call to scan_for_licenses() The last argument (package name) was missing from the call. Signed-off-by: Patrick McCarty --- autospec/autospec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autospec/autospec.py b/autospec/autospec.py index 707d3f3..4241fb5 100644 --- a/autospec/autospec.py +++ b/autospec/autospec.py @@ -256,7 +256,7 @@ def package(args, url, name, archives, workingdir, infile_dict): except Exception: pass # Start one directory higher so we scan *all* versions for licenses - license.scan_for_licenses(os.path.dirname(_dir), conf) + license.scan_for_licenses(os.path.dirname(_dir), conf, name) exit(0) requirements.scan_for_configure(_dir, content.name, conf)