config key error: fix format string (#23610)
This commit is contained in:
parent
97e6c0fda4
commit
190b043161
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue