summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-05-21 21:19:36 +0000
committerJeremy Katz <katzj@redhat.com>2003-05-21 21:19:36 +0000
commitd1e967e8e4c97e108039e0008c56abbe534897e7 (patch)
tree08b929cf89f0f68f72be05f9708fba6e1a34ce05 /exception.py
parent28d15e4c2ba7988eb23ac5ffec0dcb3f14af2b80 (diff)
downloadanaconda-d1e967e8e4c97e108039e0008c56abbe534897e7.tar.gz
anaconda-d1e967e8e4c97e108039e0008c56abbe534897e7.tar.xz
anaconda-d1e967e8e4c97e108039e0008c56abbe534897e7.zip
new package stuff here too
Diffstat (limited to 'exception.py')
-rw-r--r--exception.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/exception.py b/exception.py
index 171b1822d..88ad65e81 100644
--- a/exception.py
+++ b/exception.py
@@ -137,26 +137,22 @@ def dumpException(out, text, tb, dispatch):
except:
pass
- if dispatch.id.comps:
+ if dispatch.id.grpset:
out.write("\n\nPackage Group selection status:\n")
- for comp in dispatch.id.comps:
+ for comp in dispatch.id.grpset:
out.write("%s: %s\n" % (comp.name,
comp.isSelected(justManual = 1)))
- if dispatch.id.hdList:
+ if dispatch.id.grpset and dispatch.id.grpset.hdrlist:
out.write("\n\nIndividual package selection status:\n")
- pkgList = dispatch.id.hdList.keys()
+ pkgList = dispatch.id.grpset.hdrlist.pkgs.keys()
pkgList.sort()
for pkg in pkgList:
- p = dispatch.id.hdList[pkg]
+ p = dispatch.id.grpset.hdrlist.pkgs[pkg]
out.write("%s: %s, " % (p[rpm.RPMTAG_NAME],
p.isSelected()))
out.write("\n")
- # these have C objects in them which can't dump
-# dispatch.id.hdList = None
-# dispatch.id.comps = None
-
# we don't need to know passwords
# dispatch.id.rootPassword = None
# dispatch.id.accounts = None