We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da1f31f commit 20dcad3Copy full SHA for 20dcad3
readthedocs/projects/models.py
@@ -911,7 +911,7 @@ def repository_html_url(self):
911
if self.remote_repository:
912
return self.remote_repository.html_url
913
914
- ssh_url_pattern = re.compile(r"^(?P<user>.+)@(?P<host>.+):(?<repo>.+)$")
+ ssh_url_pattern = re.compile(r"^(?P<user>.+)@(?P<host>.+):(?P<repo>.+)$")
915
match = ssh_url_pattern.match(self.repo)
916
if match:
917
return f"https://{match.group('host')}/{match.group('repo')}"
0 commit comments