[Python-modules-commits] r8587 - in packages/python-whoosh/trunk/debian/patches (1 file)

odd_bloke-guest at users.alioth.debian.org odd_bloke-guest at users.alioth.debian.org
Wed May 27 15:18:29 UTC 2009


    Date: Wednesday, May 27, 2009 @ 15:18:28
  Author: odd_bloke-guest
Revision: 8587

Refreshed patch correctly.

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

Modified: packages/python-whoosh/trunk/debian/patches/02-python2.4-fixes.diff
===================================================================
--- packages/python-whoosh/trunk/debian/patches/02-python2.4-fixes.diff	2009-05-27 15:10:48 UTC (rev 8586)
+++ packages/python-whoosh/trunk/debian/patches/02-python2.4-fixes.diff	2009-05-27 15:18:28 UTC (rev 8587)
@@ -5,7 +5,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/query.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/query.py	2009-04-27 03:30:53.000000000 +0100
-+++ python-whoosh-0.1.20/src/whoosh/query.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/query.py	2009-05-27 16:15:42.000000000 +0100
 @@ -24,10 +24,10 @@
  from __future__ import division
  from array import array
@@ -21,7 +21,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/support/bitvector.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/support/bitvector.py	2009-03-18 06:04:40.000000000 +0000
-+++ python-whoosh-0.1.20/src/whoosh/support/bitvector.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/support/bitvector.py	2009-05-27 16:15:42.000000000 +0100
 @@ -53,8 +53,13 @@
      
      def __str__(self):
@@ -48,7 +48,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/lang/morph_en.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/lang/morph_en.py	2009-03-18 06:04:37.000000000 +0000
-+++ python-whoosh-0.1.20/src/whoosh/lang/morph_en.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/lang/morph_en.py	2009-05-27 16:15:42.000000000 +0100
 @@ -900,7 +900,10 @@
              # positional groups are None)
              groups = [g for g in match.groups() if g is not None]
@@ -64,7 +64,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/classify.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/classify.py	2009-03-21 04:27:37.000000000 +0000
-+++ python-whoosh-0.1.20/src/whoosh/classify.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/classify.py	2009-05-27 16:15:42.000000000 +0100
 @@ -17,10 +17,11 @@
  """Classes and functions for classifying and extracting information from documents.
  """
@@ -82,16 +82,19 @@
 Index: python-whoosh-0.1.20/src/whoosh/fields.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/fields.py	2009-05-25 21:22:37.000000000 +0100
-+++ python-whoosh-0.1.20/src/whoosh/fields.py	2009-05-27 16:08:22.000000000 +0100
-@@ -21,7 +21,6 @@
++++ python-whoosh-0.1.20/src/whoosh/fields.py	2009-05-27 16:16:43.000000000 +0100
+@@ -21,9 +21,9 @@
  """
  
  import re
 -from collections import defaultdict
  
  from whoosh.analysis import unstopped, IDAnalyzer, RegexAnalyzer, KeywordAnalyzer, StandardAnalyzer, NgramAnalyzer
++from whoosh.support.defaultdict import defaultdict
  
-@@ -32,6 +31,11 @@
+ # Exceptions
+ 
+@@ -32,6 +32,11 @@
  class UnknownFieldError(Exception):
      pass
  
@@ -106,7 +109,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/support/defaultdict.py
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ python-whoosh-0.1.20/src/whoosh/support/defaultdict.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/support/defaultdict.py	2009-05-27 16:15:42.000000000 +0100
 @@ -0,0 +1,37 @@
 +try:
 +    from collections import defaultdict
@@ -148,7 +151,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/writing.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/writing.py	2009-05-25 21:22:38.000000000 +0100
-+++ python-whoosh-0.1.20/src/whoosh/writing.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/writing.py	2009-05-27 16:15:42.000000000 +0100
 @@ -19,11 +19,11 @@
  """
  
@@ -165,7 +168,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/util.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/util.py	2009-05-25 21:22:38.000000000 +0100
-+++ python-whoosh-0.1.20/src/whoosh/util.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/util.py	2009-05-27 16:15:42.000000000 +0100
 @@ -18,7 +18,6 @@
  Miscellaneous utility functions and classes.
  """
@@ -185,7 +188,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/spelling.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/spelling.py	2009-03-21 04:27:37.000000000 +0000
-+++ python-whoosh-0.1.20/src/whoosh/spelling.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/spelling.py	2009-05-27 16:15:42.000000000 +0100
 @@ -18,9 +18,8 @@
  as a backend for a spell-checking engine.
  """
@@ -200,7 +203,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/highlight.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/highlight.py	2009-03-18 06:04:40.000000000 +0000
-+++ python-whoosh-0.1.20/src/whoosh/highlight.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/highlight.py	2009-05-27 16:15:42.000000000 +0100
 @@ -17,6 +17,11 @@
  from __future__ import division
  from heapq import nlargest
@@ -216,7 +219,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/index.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/index.py	2009-05-25 21:22:38.000000000 +0100
-+++ python-whoosh-0.1.20/src/whoosh/index.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/index.py	2009-05-27 16:15:42.000000000 +0100
 @@ -28,6 +28,11 @@
  
  from whoosh import fields, store
@@ -232,7 +235,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/reading.py
 ===================================================================
 --- python-whoosh-0.1.20.orig/src/whoosh/reading.py	2009-05-25 21:22:38.000000000 +0100
-+++ python-whoosh-0.1.20/src/whoosh/reading.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/reading.py	2009-05-27 16:15:42.000000000 +0100
 @@ -25,6 +25,11 @@
  from whoosh.util import ClosableMixin, protected
  from whoosh.fields import FieldConfigurationError, UnknownFieldError
@@ -255,7 +258,7 @@
 Index: python-whoosh-0.1.20/src/whoosh/support/any.py
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ python-whoosh-0.1.20/src/whoosh/support/any.py	2009-05-27 16:08:13.000000000 +0100
++++ python-whoosh-0.1.20/src/whoosh/support/any.py	2009-05-27 16:15:42.000000000 +0100
 @@ -0,0 +1,5 @@
 +def any(iterable):
 +    for element in iterable:




More information about the Python-modules-commits mailing list