Accepting request 1060873 from home:dirkmueller:Factory
- add 1228.patch to fix regressions in get_request_list OBS-URL: https://build.opensuse.org/request/show/1060873 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=379
This commit is contained in:
parent
2e49a3b5cb
commit
05bc771cef
23
1228.patch
Normal file
23
1228.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From 732ff678e789e7624e6d15b2ad641dba3828e4d7 Mon Sep 17 00:00:00 2001
|
||||
From: Fabian Vogt <fvogt@suse.de>
|
||||
Date: Wed, 25 Jan 2023 11:38:08 +0100
|
||||
Subject: [PATCH] Fix osc.get_request_list ignoring the req_type parameter
|
||||
|
||||
---
|
||||
osc/core.py | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/osc/core.py b/osc/core.py
|
||||
index 0e8d027ac..bdce9e94c 100644
|
||||
--- a/osc/core.py
|
||||
+++ b/osc/core.py
|
||||
@@ -4741,6 +4741,9 @@ def get_request_list(
|
||||
"states": req_state,
|
||||
}
|
||||
|
||||
+ if req_type is not None:
|
||||
+ kwargs["types"] = [req_type]
|
||||
+
|
||||
assert not exclude_target_projects, "unsupported"
|
||||
assert not withfullhistory, "unsupported"
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 10:48:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add 1228.patch to fix regressions in get_request_list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 17 08:46:45 UTC 2023 - Daniel Mach <daniel.mach@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user