From 190b04316199f8888e386b601b5ecb0a08f4b561 Mon Sep 17 00:00:00 2001 From: Greg Becker Date: Thu, 13 May 2021 02:20:32 -0700 Subject: [PATCH] config key error: fix format string (#23610) --- lib/spack/spack/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):