[Python-modules-commits] r8338 - in packages/python-whoosh/trunk/debian (2 files)

odd_bloke-guest at users.alioth.debian.org odd_bloke-guest at users.alioth.debian.org
Fri May 1 14:24:06 UTC 2009


    Date: Friday, May 1, 2009 @ 14:24:05
  Author: odd_bloke-guest
Revision: 8338

New upstream version.

Modified:
  packages/python-whoosh/trunk/debian/changelog
  packages/python-whoosh/trunk/debian/patches/01-python2.4-fixes.diff

Modified: packages/python-whoosh/trunk/debian/changelog
===================================================================
--- packages/python-whoosh/trunk/debian/changelog	2009-05-01 11:27:50 UTC (rev 8337)
+++ packages/python-whoosh/trunk/debian/changelog	2009-05-01 14:24:05 UTC (rev 8338)
@@ -1,4 +1,4 @@
-python-whoosh (0.1.17-1) UNRELEASED; urgency=low
+python-whoosh (0.1.19-1) UNRELEASED; urgency=low
 
   * Initial release. (Closes: #522934)
 

Modified: packages/python-whoosh/trunk/debian/patches/01-python2.4-fixes.diff
===================================================================
--- packages/python-whoosh/trunk/debian/patches/01-python2.4-fixes.diff	2009-05-01 11:27:50 UTC (rev 8337)
+++ packages/python-whoosh/trunk/debian/patches/01-python2.4-fixes.diff	2009-05-01 14:24:05 UTC (rev 8338)
@@ -18,22 +18,6 @@
  from whoosh.lang.morph_en import variations
  
  # Utility functions
-@@ -899,8 +899,13 @@
-                               slop = self.slop, boost = self.boost)
-     
-     def replace(self, oldtext, newtext):
--        return Phrase(self.fieldname, [newtext if w == oldtext else w
--                                       for w in self.words],
-+        words = []
-+        for w in self.words:
-+            if w == oldtext:
-+                words.append(newtext)
-+            else:
-+                words.append(w)
-+        return Phrase(self.fieldname, words,
-                                        slop = self.slop, boost = self.boost)
-     
-     def _and_query(self):
 Index: Whoosh-0.1.13/src/whoosh/support/bitvector.py
 ===================================================================
 --- Whoosh-0.1.13.orig/src/whoosh/support/bitvector.py	2009-04-14 11:50:01.000000000 +0100




More information about the Python-modules-commits mailing list