summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason Miller <m.jason.miller@gmail.com>2020-10-18 18:40:28 -0600
committerGitHub <noreply@github.com>2020-10-18 19:40:28 -0500
commit25f817b8ae0af7d20661cc4a7bda385433374da7 (patch)
tree58d091f82c45e909dcae8b6f1c71b13dc2963d35 /lib
parent02575cb3bba3635f19e844115374103e1e971375 (diff)
downloadspack-25f817b8ae0af7d20661cc4a7bda385433374da7.tar.gz
spack-25f817b8ae0af7d20661cc4a7bda385433374da7.tar.bz2
spack-25f817b8ae0af7d20661cc4a7bda385433374da7.tar.xz
spack-25f817b8ae0af7d20661cc4a7bda385433374da7.zip
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/buildcache.py3
1 files changed, 2 insertions, 1 deletions
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)