Commit ab965879 by James Cammarata

Merge pull request #7789 from mattjbray/fix-get-fqdn

fix for repo urls like ssh://git@github.com/ansible/ansible.git
parents fafc3591 578e8811
......@@ -71,6 +71,8 @@ def get_fqdn(repo_url):
parts = urlparse.urlparse(repo_url)
if parts[1] != '':
result = parts[1]
if "@" in result:
result = result.split("@", 1)[1]
return result
......
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