[Yum] yum on Mandrake 10.0

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

 



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@xxxxxxxxxxxxxxx
  ECE Department, the University of Arizona                 520-626-1619
  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux