Commit 3719f3f4 by James Tanner

Do not fetch or add keys for http based git urls

parent eeee1e1c
...@@ -18,7 +18,7 @@ def get_fqdn(repo_url): ...@@ -18,7 +18,7 @@ def get_fqdn(repo_url):
""" chop the hostname out of a giturl """ """ chop the hostname out of a giturl """
result = None result = None
if "@" in repo_url: if "@" in repo_url and not repo_url.startswith("http"):
repo_url = repo_url.split("@", 1)[1] repo_url = repo_url.split("@", 1)[1]
if ":" in repo_url: if ":" in repo_url:
repo_url = repo_url.split(":")[0] repo_url = repo_url.split(":")[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment