diff options
author | Paul Nasrat <pnasrat@redhat.com> | 2004-09-30 12:07:11 +0000 |
---|---|---|
committer | Paul Nasrat <pnasrat@redhat.com> | 2004-09-30 12:07:11 +0000 |
commit | 1045fe2f8e6bbb8d5a5d0a57dc5c7aa5270e94b8 (patch) | |
tree | d3a74c5b3e0829e6fb5548c9cebb7cd8b8644e99 /findpackageset.py | |
parent | f4909d225890eb2ddae060f1e0c3ca34058da876 (diff) | |
download | anaconda-1045fe2f8e6bbb8d5a5d0a57dc5c7aa5270e94b8.tar.gz anaconda-1045fe2f8e6bbb8d5a5d0a57dc5c7aa5270e94b8.tar.xz anaconda-1045fe2f8e6bbb8d5a5d0a57dc5c7aa5270e94b8.zip |
For complex case we only want our own list
Diffstat (limited to 'findpackageset.py')
-rw-r--r-- | findpackageset.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/findpackageset.py b/findpackageset.py index c08cff460..b67a89f52 100644 --- a/findpackageset.py +++ b/findpackageset.py @@ -28,14 +28,14 @@ def addNewPackageToUpgSet(pkgDict, pkg): def comparePackageForUpgrade(updDict, h, pkg): val = rpm.versionCompare(h, pkg) if (val > 0): - dEBUG("found older version of %(name)s %(arch)s" % h) +# dEBUG("found older version of %(name)s %(arch)s" % h) pass elif (val < 0): - dEBUG("found newer version of %(name)s %(arch)s" % h) +# dEBUG("found newer version of %(name)s %(arch)s" % h) # check if we already have this package in our dictionary addNewPackageToUpgSet(updDict, pkg) else: - dEBUG("found same verison of %(name)s %(arch)s" % h) +# dEBUG("found same verison of %(name)s %(arch)s" % h) pass def findBestArch(arch, archlist): @@ -108,7 +108,7 @@ def findpackageset(hdrlist, dbPath='/'): else: # See if we have a better arch than that installed if name in availNames.keys(): - bestarch = findBestArch(arch, availNames) + bestarch = findBestArch(arch, availNames[name]) if availDict.has_key((name,bestarch)): h = instDict[(name,arch)] pkg = availDict[(name,bestarch)] |