Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
139e4767
Commit
139e4767
authored
Oct 14, 2014
by
Toshio Kuratomi
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9329 from mcodd/devel
python2.4 compatibility issue with urlparse
parents
bdf3ec1e
10113e6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lib/ansible/module_utils/known_hosts.py
+2
-0
No files found.
lib/ansible/module_utils/known_hosts.py
View file @
139e4767
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment