diff options
Diffstat (limited to 'tools/sops-inventory/sops_inventory/__main__.py')
-rw-r--r-- | tools/sops-inventory/sops_inventory/__main__.py | 2 |
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: |