scripts/passwords-for: ensure keys are strings
This commit is contained in:
parent
b1567443ca
commit
3a5c944926
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ repo = Repository(path)
|
|||
|
||||
def print_faults(dictionary, keypath=[]):
|
||||
for key, value in sorted(dictionary.items()):
|
||||
key = str(key)
|
||||
|
||||
if isinstance(value, Fault):
|
||||
try:
|
||||
resolved_fault = value.value
|
||||
|
|
Loading…
Reference in a new issue