From 8fab84c6573e0253900ecc1d3f6ae4d281609f22 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 30 Jan 2023 14:04:02 +0100 Subject: ... --- tools/sops-inventory/sops_inventory/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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(): if not args.list_files: for keys, files in sorted(inventory.items(), key=itemgetter(0)): - print(','.join(keys) + ':') + print(','.join(sorted(keys)) + ':') for file in files: print(' - ' + str(file)) else: -- cgit v1.2.3