Commit 9adde1ea by James Cammarata

Fix instance comparison for deps in bin/ansible-galaxy

Fixes #8884
parent 5a7cbdda
......@@ -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)
......
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