Skip to content

Commit 6a995b6

Browse files
committed
api: fix set typo in request packages
Reported-by: Tianling Shen <[email protected]> Signed-off-by: Paul Spooren <[email protected]>
1 parent 49ae479 commit 6a995b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asu/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def validate_packages(req):
8484
else:
8585
tr.add(p)
8686

87-
req["packages"] = list(map(lambda x: remove_prefix(x, "+"), sorted(tr)))
87+
req["packages"] = set(map(lambda x: remove_prefix(x, "+"), sorted(tr)))
8888

8989
# store request packages temporary in Redis and create a diff
9090
temp = str(uuid4())

0 commit comments

Comments
 (0)