diff options
author | James Cammarata <jimi@sngx.net> | 2014-09-04 16:34:32 +0200 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2014-09-04 16:35:03 +0200 |
commit | 9adde1eab063de811e436259c090044d94318f64 (patch) | |
tree | 290d7559b48bcad3be9bb9d8a1c359810d475515 /bin/ansible-galaxy | |
parent | Merge pull request #8873 from RichardBarrell/issue-8872 (diff) | |
download | ansible-9adde1eab063de811e436259c090044d94318f64.tar.xz ansible-9adde1eab063de811e436259c090044d94318f64.zip |
Fix instance comparison for deps in bin/ansible-galaxy
Fixes #8884
Diffstat (limited to '')
-rwxr-xr-x | bin/ansible-galaxy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy index 00258b60ca..5b1b815133 100755 --- a/bin/ansible-galaxy +++ b/bin/ansible-galaxy @@ -787,7 +787,7 @@ def execute_install(args, options, parser): else: role_dependencies = role_data['summary_fields']['dependencies'] # api_fetch_role_related(api_server, 'dependencies', role_data['id']) for dep in role_dependencies: - if isinstance(dep, str): + if isinstance(dep, basestring): dep = ansible.utils.role_spec_parse(dep) else: dep = ansible.utils.role_yaml_parse(dep) |