summaryrefslogtreecommitdiffstats
path: root/bin/ansible-galaxy
diff options
context:
space:
mode:
authorJames Cammarata <jimi@sngx.net>2014-09-04 16:34:32 +0200
committerJames Cammarata <jimi@sngx.net>2014-09-04 16:35:03 +0200
commit9adde1eab063de811e436259c090044d94318f64 (patch)
tree290d7559b48bcad3be9bb9d8a1c359810d475515 /bin/ansible-galaxy
parentMerge pull request #8873 from RichardBarrell/issue-8872 (diff)
downloadansible-9adde1eab063de811e436259c090044d94318f64.tar.xz
ansible-9adde1eab063de811e436259c090044d94318f64.zip
Fix instance comparison for deps in bin/ansible-galaxy
Fixes #8884
Diffstat (limited to '')
-rwxr-xr-xbin/ansible-galaxy2
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)