Commit 20e9b34a authored by Michel Pelletier's avatar Michel Pelletier

Plain lexicons should return a list of words... this is also a hook

for synonym support.
parent d8e56332
......@@ -129,7 +129,7 @@ class Lexicon(Persistent, Implicit):
def get(self, key):
""" """
return self._lexicon[key]
return list(self._lexicon[key])
def __len__(self):
return len(self._lexicon)
......@@ -154,10 +154,6 @@ class Lexicon(Persistent, Implicit):
AndNot = 'andnot'
And = 'and'
Or = 'or'
......
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