Page MenuHomeSoftware Heritage

D277.diff
No OneTemporary

D277.diff

diff --git a/swh/model/hashutil.py b/swh/model/hashutil.py
--- a/swh/model/hashutil.py
+++ b/swh/model/hashutil.py
@@ -198,7 +198,7 @@
ValueError if the git_type is unexpected.
"""
- git_object_types = {'blob', 'tree', 'commit', 'tag'}
+ git_object_types = {'blob', 'tree', 'commit', 'tag', 'snapshot'}
if git_type not in git_object_types:
raise ValueError('Unexpected git object type %s, expected one of %s' %

File Metadata

Mime Type
text/plain
Expires
Nov 4 2024, 6:12 PM (9 w, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219745

Event Timeline