summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-13 17:34:44 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-13 17:34:44 +0000
commit7882aaa1bb010a87f72fc8bd250ddaeb94a5d21c (patch)
tree03c665e4162aa31435c028c7a53d29c2b821b896 /packages.py
parent70ec14bb3701fd9d4f7ed5068d5858fe64bb52ce (diff)
downloadanaconda-7882aaa1bb010a87f72fc8bd250ddaeb94a5d21c.tar.gz
anaconda-7882aaa1bb010a87f72fc8bd250ddaeb94a5d21c.tar.xz
anaconda-7882aaa1bb010a87f72fc8bd250ddaeb94a5d21c.zip
fix problem filter
give description if we have an unknown problem type
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages.py b/packages.py
index e01e01d3c..35519b6d8 100644
--- a/packages.py
+++ b/packages.py
@@ -745,7 +745,7 @@ def doInstall(method, id, intf, instPath):
cb.initWindow = intf.waitWindow(_("Install Starting"),
_("Starting install process, this may take several minutes..."))
-# ts.setProbFilter(rpm.RPMPROB_FILTER_DISKSPACE)
+ ts.setProbFilter(~rpm.RPMPROB_FILTER_DISKSPACE)
problems = ts.run(cb.cb, 0)
if problems:
@@ -779,9 +779,11 @@ def doInstall(method, id, intf, instPath):
else:
nodeneeded[mount] = need
else:
+ if descr is None:
+ descr = "no description"
log ("WARNING: unhandled problem returned from "
- "transaction set type %d",
- type)
+ "transaction set type %d (%s)",
+ type, descr)
probs = ""
if spaceneeded: