Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124813
D2971.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
451 B
Subscribers
None
D2971.diff
View Options
diff --git a/swh/storage/storage.py b/swh/storage/storage.py
--- a/swh/storage/storage.py
+++ b/swh/storage/storage.py
@@ -853,7 +853,7 @@
updates['snapshot'] = snapshot
if updates:
- updated_visit = {**visit, **updates}
+ updated_visit = OriginVisit.from_dict({**visit, **updates})
self.journal_writer.origin_visit_update(updated_visit)
with convert_validation_exceptions():
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 21 2024, 8:24 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221999
Attached To
D2971: Make Storage.origin_visit_update() add an OriginVisit model entity in the journal
Event Timeline
Log In to Comment