Hi Sven, On Mon, Jan 25, 2010 at 09:30:14AM +0100, Sven Joachim wrote: > On 2009-10-26 16:52 +0100, John Wright wrote: > > > On Sat, Oct 24, 2009 at 07:39:21AM +0200, Laurent Bonnaud wrote: > >> # update-apt-xapian-index --quiet > >> /usr/lib/pymodules/python2.5/debian_bundle/deb822.py:244: > >> DeprecationWarning: apt_pkg.ParseTagFile() is deprecated. Please see > >> apt_pkg.TagFile() for the replacement. > >> parser = apt_pkg.ParseTagFile(sequence) > >> > >> This is annoying because every week, /etc/cron.weekly/apt-xapian-index > >> outputs this warning and an e-mail is sent to the admin. > >> [...] > > > > Unfortunately, the apt_pkg.TagFile interface is not available in the > > version of python-apt in unstable. I'll see if the interface is similar > > enough to the old ParseTagFile one to make deb822 use it if it's > > available but fall back on the old one if not. If it would mean a bunch > > of extra code, I'd prefer to wait until this shows up in unstable. > > Which has just happened with the upload of python-apt 0.7.93 to unstable > last week. Today I received a mail from the weekly cron job with the > above warning.
I have a branch that uses the new TagFile interface. I'll try to merge that in and upload this week or weekend. I also had a "fix" to ignore the DeprecationWarning in my local git tree, but I never got around to pushing or uploading. Sorry about that. Thanks for the reminder! -- John Wright <j...@debian.org> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org