diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2023-10-11 13:09:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 13:09:21 +0200 |
commit | 26f291ef2507f28563f09c7e4b8d5d644074e030 (patch) | |
tree | ce088a3b7425dfb48597c78fcff5a014481a516b | |
parent | da030617a1008dc74a960e9af7ca25f8e8072281 (diff) | |
download | spack-26f291ef2507f28563f09c7e4b8d5d644074e030.tar.gz spack-26f291ef2507f28563f09c7e4b8d5d644074e030.tar.bz2 spack-26f291ef2507f28563f09c7e4b8d5d644074e030.tar.xz spack-26f291ef2507f28563f09c7e4b8d5d644074e030.zip |
spack buildcache: fix a typo in a function call (#40446)
fixes #40415
-rw-r--r-- | lib/spack/spack/cmd/buildcache.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/spack/cmd/buildcache.py b/lib/spack/spack/cmd/buildcache.py index 5eb0ea1ed4..13e77927ad 100644 --- a/lib/spack/spack/cmd/buildcache.py +++ b/lib/spack/spack/cmd/buildcache.py @@ -268,7 +268,7 @@ def _matching_specs(specs: List[Spec]) -> List[Spec]: return [spack.cmd.disambiguate_spec(s, ev.active_environment(), installed=any) for s in specs] -def push_fn(args): +def push_fn(args: argparse.Namespace): """create a binary package and push it to a mirror""" if args.spec_file: tty.warn( @@ -414,7 +414,7 @@ def preview_fn(args): ) -def check_fn(args): +def check_fn(args: argparse.Namespace): """check specs against remote binary mirror(s) to see if any need to be rebuilt this command uses the process exit code to indicate its result, specifically, if the @@ -429,7 +429,7 @@ def check_fn(args): specs = spack.cmd.parse_specs(args.spec or args.spec_file) if specs: - specs = _matching_specs(specs, specs) + specs = _matching_specs(specs) else: specs = spack.cmd.require_active_env("buildcache check").all_specs() |