scripts/passwords-for: sort metadata

This commit is contained in:
Franzi 2020-11-10 12:49:47 +01:00
parent 3fbe32518a
commit 16e8c4fd00
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -11,7 +11,7 @@ path = environ.get('BW_REPO_PATH', '.')
repo = Repository(path) repo = Repository(path)
def print_faults(dictionary, keypath=[]): def print_faults(dictionary, keypath=[]):
for key, value in dictionary.items(): for key, value in sorted(dictionary.items()):
if isinstance(value, Fault): if isinstance(value, Fault):
try: try:
resolved_fault = value.value resolved_fault = value.value