Commit 139e4767 by Toshio Kuratomi

Merge pull request #9329 from mcodd/devel

python2.4 compatibility issue with urlparse
parents bdf3ec1e 10113e6a
......@@ -72,6 +72,8 @@ def get_fqdn(repo_url):
if 'ssh' not in parts[0] and 'git' not in parts[0]:
# don't try and scan a hostname that's not ssh
return None
# parts[1] will be empty on python2.4 on ssh:// or git:// urls, so
# ensure we actually have a parts[1] before continuing.
if parts[1] != '':
result = parts[1]
if ":" in 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