Merge pull request #2800 from tartansandal/env_bug

fix arguments to isinstance() in env lookup
pull/2803/head
Michael DeHaan 12 years ago
commit 5742e5dd4b

@ -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…
Cancel
Save