summaryrefslogtreecommitdiff
path: root/tools/sops-inventory/sops_inventory
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-01-30 14:04:02 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-01-30 14:04:02 +0100
commit8fab84c6573e0253900ecc1d3f6ae4d281609f22 (patch)
treec89a4b2813fb77350f60753606d0073fb7a9cbb6 /tools/sops-inventory/sops_inventory
parent02cca501daa04fc1d5434acc33b3464e8b209003 (diff)
downloadnixos-8fab84c6573e0253900ecc1d3f6ae4d281609f22.tar
nixos-8fab84c6573e0253900ecc1d3f6ae4d281609f22.tar.gz
nixos-8fab84c6573e0253900ecc1d3f6ae4d281609f22.tar.bz2
nixos-8fab84c6573e0253900ecc1d3f6ae4d281609f22.tar.xz
nixos-8fab84c6573e0253900ecc1d3f6ae4d281609f22.zip
...
Diffstat (limited to 'tools/sops-inventory/sops_inventory')
-rw-r--r--tools/sops-inventory/sops_inventory/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sops-inventory/sops_inventory/__main__.py b/tools/sops-inventory/sops_inventory/__main__.py
index 47100c17..9f0520b2 100644
--- a/tools/sops-inventory/sops_inventory/__main__.py
+++ b/tools/sops-inventory/sops_inventory/__main__.py
@@ -92,7 +92,7 @@ def main():
92 92
93 if not args.list_files: 93 if not args.list_files:
94 for keys, files in sorted(inventory.items(), key=itemgetter(0)): 94 for keys, files in sorted(inventory.items(), key=itemgetter(0)):
95 print(','.join(keys) + ':') 95 print(','.join(sorted(keys)) + ':')
96 for file in files: 96 for file in files:
97 print(' - ' + str(file)) 97 print(' - ' + str(file))
98 else: 98 else: