fix arguments to isinstance() in env lookup
This commit is contained in:
parent
fcc2a753b7
commit
9f90f0e856
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)
|
terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject)
|
||||||
|
|
||||||
if isinstance(basestring, terms):
|
if isinstance(terms, basestring):
|
||||||
terms = [ terms ]
|
terms = [ terms ]
|
||||||
|
|
||||||
ret = []
|
ret = []
|
||||||
|
|
Loading…
Reference in a new issue