utils.listify* doesn't exist in 1.1 - only in 1.2 :)

This commit is contained in:
Seth Vidal 2013-04-19 21:26:17 +00:00
parent 64e8f5c441
commit 947659bbab
1 changed files with 3 additions and 1 deletions

View File

@ -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