From 25f817b8ae0af7d20661cc4a7bda385433374da7 Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Sun, 18 Oct 2020 18:40:28 -0600 Subject: Fix for buildcache -o (#19354) * Fix for buildcache -o The method has more positional arguments than the caller expects. * Address length issue. Fix pylint/flake errors. --- lib/spack/spack/cmd/buildcache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/spack/spack/cmd/buildcache.py b/lib/spack/spack/cmd/buildcache.py index ff93646ffd..b25de11b61 100644 --- a/lib/spack/spack/cmd/buildcache.py +++ b/lib/spack/spack/cmd/buildcache.py @@ -476,7 +476,8 @@ def installtarball(args): tty.die("build cache file installation requires" + " at least one package spec argument") pkgs = set(args.specs) - matches = match_downloaded_specs(pkgs, args.multiple, args.otherarch) + matches = match_downloaded_specs(pkgs, args.multiple, args.force, + args.otherarch) for match in matches: install_tarball(match, args) -- cgit v1.2.3-70-g09d2