On Mon, 19 Jun 2006, Matthias Klose wrote:
> Raphael Hertzog writes:
> > What Josselin is criticizing is the fact that python-central heavily
> > relies on the P-V field, it looks it up in /var/lib/dpkg/status and also
> > uses /var/lib/dpkg/info/package.list to find out files to byte-compile.
> > This is usage of internal interfaces of dpkg and it's also normal that
> > people are reserved on this.
> 
> /var/lib/dpkg/info/package.list is not used. 

Just a remark, extract from pycentral:
> #lines = [s[:-1] for s in file('/var/lib/dpkg/info/%s.list' % 
> self.name).readlines()]
> cmd = ['/usr/bin/dpkg-query', '-L', self.name]

So it's _no more_ used (it's commented out) but it relies on dpkg-query -L
instead.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to