diff options
author | Greg Becker <becker33@llnl.gov> | 2021-05-13 02:20:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-13 11:20:32 +0200 |
commit | 190b04316199f8888e386b601b5ecb0a08f4b561 (patch) | |
tree | 361f68356099ea2793cc2944d3e28604f963a06c /lib | |
parent | 97e6c0fda4a8ad58fac5eb88da66ee4573ad78af (diff) | |
download | spack-190b04316199f8888e386b601b5ecb0a08f4b561.tar.gz spack-190b04316199f8888e386b601b5ecb0a08f4b561.tar.bz2 spack-190b04316199f8888e386b601b5ecb0a08f4b561.tar.xz spack-190b04316199f8888e386b601b5ecb0a08f4b561.zip |
config key error: fix format string (#23610)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/config.py b/lib/spack/spack/config.py index 63839cfb05..574902f508 100644 --- a/lib/spack/spack/config.py +++ b/lib/spack/spack/config.py @@ -129,7 +129,7 @@ def first_existing(dictionary, keys): try: return next(k for k in keys if k in dictionary) except StopIteration: - raise KeyError("None of %s is in dict!" % keys) + raise KeyError("None of %s is in dict!" % str(keys)) class ConfigScope(object): |