Roundup Tracker - Issues

Message4220

Author olly
Recipients ber, bruce, olly, tonimueller
Date 2011-01-09.21:16:21
Message-id <1294607781.58.0.0798252094801.issue2550676@psf.upfronthosting.co.za>
In-reply-to
Looks like the last two lines of roundup/backends/indexer_xapian.py need
to be changed from:

        return [tuple(m[xapian.MSET_DOCUMENT].get_data().split(':'))
            for m in matches]

to:

        return [tuple(m[xapian.MSET_DOCUMENT].get_data().split(':'))
            for m in matches.items]

(i.e. add ".items" to the last line).

That should work with both Xapian 1.0 and 1.2, but I've not tested - I
don't have a source tree for roundup currently setup, and I've got a
post-holiday mail mountain to get through.

Incidentally, looks like this code isn't exercised by the roundup
testsuite, since that passed with Xapian 1.2 when I tried it after the
previous fix.

tonimueller - this probably needs fixing in Debian squeeze...
History
Date User Action Args
2011-01-09 21:16:21ollysetmessageid: <1294607781.58.0.0798252094801.issue2550676@psf.upfronthosting.co.za>
2011-01-09 21:16:21ollysetrecipients: + olly, ber, tonimueller, bruce
2011-01-09 21:16:21ollylinkissue2550676 messages
2011-01-09 21:16:21ollycreate