From 8c61af264a609ed5576eaa535f43a1af9994778e Mon Sep 17 00:00:00 2001 From: ook37 Date: Thu, 9 Jan 2025 20:57:57 -0500 Subject: [PATCH] fix: `any` storage --- manager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manager.py b/manager.py index 4c0e72a..4d2bd97 100755 --- a/manager.py +++ b/manager.py @@ -221,9 +221,12 @@ def alter_package(name, distros, architectures, overflow=5): print(f"Error: '{arch}' is not supported by package '{name}'\nSupported architectures: {', '.join(available_architectures)}") sys.exit(1) + if 'any' in architectures: + architectures = ['any'] + data[name] = { "distros": distros, - "architectures": adjust_architectures(architectures), + "architectures": architectures, "maxOverflow": overflow, "lastUpdatedAt": last_updated, }