Hi,

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']

but I can't figure out how to go on..

cheers,

free


Reply via email to