1
0
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:
Daniel Mach 2023-03-13 13:51:11 +01:00 committed by GitHub
commit c99502998b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,