mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-22 18:22:12 +01:00
core.get_request_list: Remove deprecation warning
It turned out that get_request_list() and get_request_collection() are not interchangeable and we need both for different use cases. get_request_collection() was designed mainly for the 'osc my' command, while get_request_list() should be used in a generic use case
This commit is contained in:
parent
b0cf1b4b27
commit
4f9fb9f1ac
@ -4834,14 +4834,6 @@ def get_request_list(
|
||||
withfullhistory=False,
|
||||
roles=None,
|
||||
):
|
||||
|
||||
import warnings
|
||||
warnings.warn(
|
||||
"osc.core.get_request_list() is deprecated. "
|
||||
"Use osc.core.get_request_collection() instead.",
|
||||
DeprecationWarning
|
||||
)
|
||||
|
||||
kwargs = {
|
||||
"apiurl": apiurl,
|
||||
"user": req_who,
|
||||
|
Loading…
x
Reference in New Issue
Block a user