From 9adde1eab063de811e436259c090044d94318f64 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 4 Sep 2014 09:34:32 -0500 Subject: [PATCH] Fix instance comparison for deps in bin/ansible-galaxy Fixes #8884 --- bin/ansible-galaxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)