Page MenuHomeSoftware Heritage

D1260.diff
No OneTemporary

D1260.diff

diff --git a/swh/core/api/__init__.py b/swh/core/api/__init__.py
--- a/swh/core/api/__init__.py
+++ b/swh/core/api/__init__.py
@@ -141,8 +141,8 @@
This backend class will never be instantiated, it only serves as
a template."""
- def __init__(self, api_exception, url, timeout=None, chunk_size=4096):
- super().__init__()
+ def __init__(self, api_exception, url,
+ timeout=None, chunk_size=4096, **kwargs):
self.api_exception = api_exception
base_url = url if url.endswith('/') else url + '/'
self.url = base_url

File Metadata

Mime Type
text/plain
Expires
Dec 21 2024, 6:10 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221538

Event Timeline