Page MenuHomeSoftware Heritage

D8091.diff
No OneTemporary

D8091.diff

diff --git a/swh/loader/cvs/loader.py b/swh/loader/cvs/loader.py
--- a/swh/loader/cvs/loader.py
+++ b/swh/loader/cvs/loader.py
@@ -99,9 +99,9 @@
temp_directory: str = "/tmp",
**kwargs: Any,
):
- self.cvsroot_url = url
+ self.cvsroot_url = url.rstrip("/")
# origin url as unique identifier for origin in swh archive
- origin_url = origin_url if origin_url else self.cvsroot_url
+ origin_url = origin_url.rstrip("/") if origin_url else self.cvsroot_url
super().__init__(storage=storage, origin_url=origin_url, **kwargs)
self.temp_directory = temp_directory

File Metadata

Mime Type
text/plain
Expires
Nov 5 2024, 3:10 PM (11 w, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3225828

Event Timeline