From 9f90f0e85683a26f349f4b1823d6427bbaa64514 Mon Sep 17 00:00:00 2001 From: "Kahlil (Kal) Hodgson" Date: Sun, 28 Apr 2013 14:58:26 +1000 Subject: [PATCH] fix arguments to isinstance() in env lookup --- lib/ansible/runner/lookup_plugins/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/lookup_plugins/env.py b/lib/ansible/runner/lookup_plugins/env.py index 86b1da5aaa..6acc5f59dd 100644 --- a/lib/ansible/runner/lookup_plugins/env.py +++ b/lib/ansible/runner/lookup_plugins/env.py @@ -27,7 +27,7 @@ class LookupModule(object): terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject) - if isinstance(basestring, terms): + if isinstance(terms, basestring): terms = [ terms ] ret = []