From 9432b6d17c5d24f5db32846df58667217f56424d Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Tue, 20 Feb 2024 16:16:57 +0100 Subject: [PATCH] typo Signed-off-by: Paul Spooren --- asu/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asu/api.py b/asu/api.py index 8c85d716..4e3632dd 100644 --- a/asu/api.py +++ b/asu/api.py @@ -107,7 +107,7 @@ def validate_request(req): req["packages"] = list( map( - lambda x: x.remove_prefix("+"), + lambda x: x.removeprefix("+"), sorted(req.get("packages_versions", {}).keys() or req.get("packages", [])), ) )