Package: roundup
Version: 1.4.13-3

Roundup upstream have now applied the Xapian 1.2 compatibility fixes, and
found an additional fix was required to what I proposed in #579927
(http://bugs.debian.org/579927) and you applied in 1.4.13-3.  Sorry I
missed this additional needed change the first time round.

I've attached a replacement patch for the one used in 1.4.13-3.  I've
tested this one with upstream's testsuite - with the patch applied
it passes with both Xapian 1.0.x and Xapian 1.2.x.

Alternatively, upstream has now released 1.4.14 with this fix in, so
packaging this new upstream release would also address this issue.

I'm happy to NMU to update the patch if you want me to.  I don't feel
confident updating to a new upstream release.

Cheers,
    Olly
Index: roundup/backends/indexer_xapian.py
===================================================================
--- roundup/backends/indexer_xapian.py	(revision 4483)
+++ roundup/backends/indexer_xapian.py	(working copy)
@@ -78,8 +78,7 @@
         enquire.set_query(query)
         matches = enquire.get_mset(0, 10)
         if matches.size():      # would it killya to implement __len__()??
-            b = matches.begin()
-            docid = b.get_docid()
+            docid = matches[0].docid
         else:
             docid = None
 

Attachment: signature.asc
Description: Digital signature

Reply via email to