1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-11 17:54:06 +02: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:
2023-03-13 13:51:11 +01:00
committed by GitHub

View File

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