Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9696874
D8015.id28888.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
617 B
Subscribers
None
D8015.id28888.diff
View Options
diff --git a/swh/objstorage/replayer/replay.py b/swh/objstorage/replayer/replay.py
--- a/swh/objstorage/replayer/replay.py
+++ b/swh/objstorage/replayer/replay.py
@@ -187,7 +187,7 @@
def put_object(objstorage, obj_id, obj):
try:
with statsd.timed(CONTENT_DURATION_METRIC, tags={"request": "put"}):
- obj = objstorage.add(obj, obj_id, check_presence=False)
+ objstorage.add(obj, obj_id, check_presence=False)
logger.debug("stored %(obj_id)s", {"obj_id": hash_to_hex(obj_id)})
except Exception as exc:
raise ReplayError(obj_id=obj_id, exc=exc) from None
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 17, 9:56 PM (5 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219779
Attached To
D8015: Remove unused assignment of objstorage.add's return value
Event Timeline
Log In to Comment