Commits

Matt Chaput committed 703e86e

Fixed undefined variable error. Fixes issue #178.

  • Participants
  • Parent commits 8f63c43

Comments (0)

Files changed (1)

File src/whoosh/filedb/fieldcache.py

         
         # Compact the order array if possible
         if hastexts:
+            newcode = order.typecode
             if len(texts) < 255:
                 newcode = "B"
             elif len(texts) < 65535: