1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-14 16:26:13 +01:00

Fix osc.get_request_list ignoring the req_type parameter

This commit is contained in:
Fabian Vogt 2023-01-25 11:38:08 +01:00
parent c0c87dad33
commit 732ff678e7

View File

@ -4741,6 +4741,9 @@ def get_request_list(
"states": req_state, "states": req_state,
} }
if req_type is not None:
kwargs["types"] = [req_type]
assert not exclude_target_projects, "unsupported" assert not exclude_target_projects, "unsupported"
assert not withfullhistory, "unsupported" assert not withfullhistory, "unsupported"