fix for urls like ssh://git@github.com/ansible/ansible.git

pull/7789/head
Matt Bray 11 years ago
parent fafc35911a
commit 578e881142

@ -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

Loading…
Cancel
Save