mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #2800 from tartansandal/env_bug
fix arguments to isinstance() in env lookup
This commit is contained in:
commit
5742e5dd4b
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Reference in a new issue