Commits

Matt Chaput  committed e00d26c

Fixed bug in obsolete spelling system, caused when fields stopped importing * from formats.
Fixes issue #168.

  • Participants
  • Parent commits f16ae1f

Comments (0)

Files changed (1)

File src/whoosh/spelling.py

     def _schema(self):
         # Creates a schema given this object's mingram and maxgram attributes.
 
-        from whoosh.fields import Schema, FieldType, Frequency, ID, STORED
+        from whoosh.fields import Schema, FieldType, ID, STORED
+        from whoosh.formats import Frequency
         from whoosh.analysis import SimpleAnalyzer
 
         idtype = ID()