Page MenuHomeSoftware Heritage

D8015.id28888.diff
No OneTemporary

D8015.id28888.diff

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

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

Event Timeline