From 947659bbab5d00ed4156126b2042d4ca6719b306 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Fri, 19 Apr 2013 21:26:17 +0000 Subject: [PATCH] utils.listify* doesn't exist in 1.1 - only in 1.2 :) --- lookup_plugins/first_found.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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