Re: python-apt: how to get ShortDesc and LongDesc

2004-10-10 Thread Free Ekanayaka
|--==> Igor Stroh writes: IS> Free Ekanayaka wrote: >>would someone write me a sample code on how to get the ShortDesc >>and LongDesc records from the PkgRecords class? >> >>I think it should start with something like: >> >>cache = apt_pkg.GetCache() records = apt_pkg.GetPkgRec

Re: python-apt: how to get ShortDesc and LongDesc

2004-10-10 Thread Igor Stroh
Free Ekanayaka wrote: would someone write me a sample code on how to get the ShortDesc and LongDesc records from the PkgRecords class? I think it should start with something like: cache = apt_pkg.GetCache() records = apt_pkg.GetPkgRecords(cache) package = cache['my_pkg'] Since there are no A