mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-13 07:56:14 +01:00
Merge pull request #1274 from dmach/get-request-list-remove-deprecation-warning
core.get_request_list: Remove deprecation warning
This commit is contained in:
commit
c99502998b
@ -4834,14 +4834,6 @@ def get_request_list(
|
|||||||
withfullhistory=False,
|
withfullhistory=False,
|
||||||
roles=None,
|
roles=None,
|
||||||
):
|
):
|
||||||
|
|
||||||
import warnings
|
|
||||||
warnings.warn(
|
|
||||||
"osc.core.get_request_list() is deprecated. "
|
|
||||||
"Use osc.core.get_request_collection() instead.",
|
|
||||||
DeprecationWarning
|
|
||||||
)
|
|
||||||
|
|
||||||
kwargs = {
|
kwargs = {
|
||||||
"apiurl": apiurl,
|
"apiurl": apiurl,
|
||||||
"user": req_who,
|
"user": req_who,
|
||||||
|
Loading…
Reference in New Issue
Block a user