diff --git a/requirements-swh.txt b/requirements-swh.txt --- a/requirements-swh.txt +++ b/requirements-swh.txt @@ -1,4 +1,4 @@ -swh.core >= 0.0.54 +swh.core >= 0.0.56 swh.model >= 0.0.27 swh.objstorage >= 0.0.17 swh.scheduler >= 0.0.14 diff --git a/swh/storage/api/client.py b/swh/storage/api/client.py --- a/swh/storage/api/client.py +++ b/swh/storage/api/client.py @@ -12,9 +12,7 @@ class RemoteStorage(SWHRemoteAPI): """Proxy to a remote storage API""" - def __init__(self, url, timeout=None): - super().__init__( - api_exception=StorageAPIError, url=url, timeout=timeout) + api_exception = StorageAPIError def check_config(self, *, check_write): return self.post('check_config', {'check_write': check_write})