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.
This commit is contained in:
Jason Miller 2020-10-18 18:40:28 -06:00 committed by GitHub
parent 02575cb3bb
commit 25f817b8ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)