1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00

Remove now unused 'retry_on_400' http_request() option from XmlModel

This commit is contained in:
Daniel Mach 2024-03-12 17:33:41 +01:00
parent d497900ef7
commit 3cfeda45ba

View File

@ -759,7 +759,7 @@ class XmlModel(BaseModel):
from ..core import makeurl from ..core import makeurl
url = makeurl(apiurl, path, query) url = makeurl(apiurl, path, query)
# TODO: catch HTTPError and return the wrapped response as XmlModel instance # 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: def do_update(self, other: "XmlModel") -> None:
""" """