Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123243
D2727.id9723.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
415 B
Subscribers
None
D2727.id9723.diff
View Options
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
@@ -152,7 +152,8 @@
# Send the request.
return self.post(meth._endpoint_path, post_data)
- attributes[meth_name] = meth_
+ if meth_name not in attributes:
+ attributes[meth_name] = meth_
class RPCClient(metaclass=MetaRPCClient):
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 4:31 AM (22 h, 41 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3229454
Attached To
D2727: Allow subclasses of RPCClient to override methods.
Event Timeline
Log In to Comment