Commits

Matt Chaput  committed 3616ab2

Fixing a mistake in the last checkin.

  • Participants
  • Parent commits 069e6f1

Comments (0)

Files changed (1)

File src/whoosh/query.py

             return t
 
         words = [w for w in self.words if w is not None]
-        t = self.__class__(self.fieldname, words, slop=self.slop,
-                           boost=self.boost, char_ranges=self.char_ranges)
+        return self.__class__(self.fieldname, words, slop=self.slop,
+                              boost=self.boost, char_ranges=self.char_ranges)
 
     def replace(self, fieldname, oldtext, newtext):
         q = copy.copy(self)