Commits

Matt Chaput committed 33fd99e

Fixed possible uninitialized variable.

  • Participants
  • Parent commits b47fc3b

Comments (0)

Files changed (1)

src/whoosh/analysis/intraword.py

                 this = 1
             elif text.isdigit():
                 this = 2
+            else:
+                this = None
 
             # Is this the same type as the previous part?
             if (buf and (this == last == 1 and mergewords)