From 3cfeda45ba93ea736b2ff6e5468262e79f66d4af Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Tue, 12 Mar 2024 17:33:41 +0100 Subject: [PATCH] Remove now unused 'retry_on_400' http_request() option from XmlModel --- osc/util/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/util/models.py b/osc/util/models.py index 28b21ef1..0777b535 100644 --- a/osc/util/models.py +++ b/osc/util/models.py @@ -759,7 +759,7 @@ class XmlModel(BaseModel): from ..core import makeurl url = makeurl(apiurl, path, query) # TODO: catch HTTPError and return the wrapped response as XmlModel instance - return http_request(method, url, data=data, retry_on_400=False) + return http_request(method, url, data=data) def do_update(self, other: "XmlModel") -> None: """