From fda5339bd4026bbb6b736ea90f53e5b25d7bd6d3 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Tue, 17 Dec 2024 09:30:59 -0800 Subject: [PATCH] Use hash for content_id --- repo2docker/contentproviders/dataverse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo2docker/contentproviders/dataverse.py b/repo2docker/contentproviders/dataverse.py index 5797aacc..220f147e 100644 --- a/repo2docker/contentproviders/dataverse.py +++ b/repo2docker/contentproviders/dataverse.py @@ -187,4 +187,4 @@ def fetch(self, spec, output_dir, yield_output=False): @property def content_id(self): """The Dataverse persistent identifier.""" - return self.url + return hashlib.sha256(self.url.encode()).hexdigest()