Commit cbbb2707 by James Cammarata

Cleanup bug from moving base lookup methods to staticmethods

parent ac98fe9e
...@@ -44,7 +44,7 @@ class LookupBase(with_metaclass(ABCMeta, object)): ...@@ -44,7 +44,7 @@ class LookupBase(with_metaclass(ABCMeta, object)):
return self._loader.get_basedir() return self._loader.get_basedir()
@staticmethod @staticmethod
def _flatten(self, terms): def _flatten(terms):
ret = [] ret = []
for term in terms: for term in terms:
if isinstance(term, (list, tuple)): if isinstance(term, (list, tuple)):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment