[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Updated python-support



* Raphael Hertzog (hertzog@debian.org) [060620 01:20]:
> 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.

Which *is* an official interface. And, I don't see anything wrong to read
internal files in a very early development face. So, nothing bad about
pycentral.


Cheers,
Andi
-- 
  http://home.arcor.de/andreas-barth/



Reply to: