flash poll: do we need a library for parsing sources.list?
James Westby
jw+debian at jameswestby.net
Wed Feb 20 17:56:11 UTC 2008
On Wed, 2008-02-20 at 16:03 +0100, Stefano Zacchiroli wrote:
> Do we have whatever library for parsing /etc/apt/sources.list? If no, I
> think we should write a new component for python-debian which implements
> it and (maybe :-)) I volunteer for writing an initial implementation.
>
Hi Zack,
It sounds like this should already be available in python-apt. However
I have never managed to actually find out what the API of python-apt
is, so I can't say for sure.
Also, python-apt apparently has two APIs. One is absolutely horrible,
and the second is apparently a lot more pleasant to use.
However, if python-apt doesn't have it, or it is not a good interface,
then I wouldn't have a problem with python-debian implementing or
wrapping it.
Thanks,
James
More information about the pkg-python-debian-discuss
mailing list