Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
natthan-pigoux committed Jan 15, 2025
1 parent eeadb10 commit e11d417
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion diracx-core/src/diracx/core/config/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ def clear_caches(self):

def exctract_remote_url(self, backend_url: ConfigSourceUrl) -> str:
"""Extract the base URL without the 'git+' prefix and query parameters."""
# TODO: fix typing issue
parsed_url = urlparse(str(backend_url).replace("git+", ""))
remote_url = urlunparse(parsed_url._replace(query=""))
return remote_url
Expand Down

0 comments on commit e11d417

Please sign in to comment.