diff --git a/lookup_plugins/first_found.py b/lookup_plugins/first_found.py index 95ce804aec..aa4475d78f 100644 --- a/lookup_plugins/first_found.py +++ b/lookup_plugins/first_found.py @@ -113,7 +113,9 @@ class LookupModule(object): def run(self, terms, inject=None, **kwargs): - terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject) + if isinstance(terms, basestring): + terms = [ terms ] + result = None anydict = False