diff options
Diffstat (limited to 'manifest_xml.py')
-rw-r--r-- | manifest_xml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index 7e533a02..4f752122 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
@@ -133,8 +133,8 @@ def normalize_url(url: str) -> str: | |||
133 | url = url.rstrip("/") | 133 | url = url.rstrip("/") |
134 | parsed_url = urllib.parse.urlparse(url) | 134 | parsed_url = urllib.parse.urlparse(url) |
135 | 135 | ||
136 | # This matches patterns like "git@github.com:foo/bar". | 136 | # This matches patterns like "git@github.com:foo". |
137 | scp_like_url_re = r"^[^/:]+@[^/:]+:[^/]+/" | 137 | scp_like_url_re = r"^[^/:]+@[^/:]+:[^/]+" |
138 | 138 | ||
139 | # If our URL is missing a schema and matches git's | 139 | # If our URL is missing a schema and matches git's |
140 | # SCP-like syntax we should convert it to a proper | 140 | # SCP-like syntax we should convert it to a proper |