Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066561
D8091.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
636 B
Subscribers
None
D8091.diff
View Options
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
Details
Attached
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
Attached To
D8091: loader: Ensure to strip trailing slash from origin URL
Event Timeline
Log In to Comment