diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-12-13 17:34:44 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-12-13 17:34:44 +0000 |
commit | 7882aaa1bb010a87f72fc8bd250ddaeb94a5d21c (patch) | |
tree | 03c665e4162aa31435c028c7a53d29c2b821b896 | |
parent | 70ec14bb3701fd9d4f7ed5068d5858fe64bb52ce (diff) | |
download | anaconda-7882aaa1bb010a87f72fc8bd250ddaeb94a5d21c.tar.gz anaconda-7882aaa1bb010a87f72fc8bd250ddaeb94a5d21c.tar.xz anaconda-7882aaa1bb010a87f72fc8bd250ddaeb94a5d21c.zip |
fix problem filter
give description if we have an unknown problem type
-rw-r--r-- | packages.py | 8 |
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: |