python3: fixed urllib usage

This commit is contained in:
RhodeCode Admin 2023-03-10 10:01:53 +01:00
parent 98d140d533
commit 0c53201403
9 changed files with 11 additions and 12 deletions

View file

@ -202,7 +202,7 @@ class SubversionTunnelWrapper(object):
if not first_response:
return self.fail("Repository name cannot be extracted")
url_parts = urllib.parse.urlparse.urlparse(first_response['url'])
url_parts = urllib.parse.urlparse(first_response['url'])
self.server.repo_name = self._match_repo_name(url_parts.path.strip('/'))