Skip to content

Commit fda5339

Browse files
committed
Use hash for content_id
1 parent 96057f9 commit fda5339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repo2docker/contentproviders/dataverse.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,4 +187,4 @@ def fetch(self, spec, output_dir, yield_output=False):
187187
@property
188188
def content_id(self):
189189
"""The Dataverse persistent identifier."""
190-
return self.url
190+
return hashlib.sha256(self.url.encode()).hexdigest()

0 commit comments

Comments
 (0)