[Yum] yum on Mandrake 10.0
Michael Stenner
mstenner at ece.arizona.edu
Mon Apr 19 15:48:23 UTC 2004
On Mon, Apr 19, 2004 at 09:37:24AM -0600, Charles Curley wrote:
> def rpmdbNevralLoad(nevral):
> rpmdbdict = {}
> serverid = 'db'
> rpmloc = 'in_rpm_db'
> hdrs = ts.dbMatch()
> for hdr in hdrs:
> (epoch, name, ver, rel, arch) = getENVRA(hdr)
Seth, is it possible that name or arch is a list here? That would do
it.
> # deal with multiple versioned dupes and dupe entries in localdb
> if not rpmdbdict.has_key((name, arch)):
> rpmdbdict[(name, arch)] = (epoch, ver, rel)
-Michael
--
Michael D. Stenner mstenner at ece.arizona.edu
ECE Department, the University of Arizona 520-626-1619
1230 E. Speedway Blvd., Tucson, AZ 85721-0104 ECE 524G
More information about the Yum
mailing list