diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-03-07 16:33:32 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-03-07 16:33:32 +0000 |
commit | 8d6d690fd2a12e233858befeaf5b0adaf1e31339 (patch) | |
tree | 9bf6a0824c7fe888cf8e84edf1b324593be759c8 /installclass.py | |
parent | 820113e9146ce3208b72f7bbdb336df6ea17c48c (diff) | |
download | anaconda-8d6d690fd2a12e233858befeaf5b0adaf1e31339.tar.gz anaconda-8d6d690fd2a12e233858befeaf5b0adaf1e31339.tar.xz anaconda-8d6d690fd2a12e233858befeaf5b0adaf1e31339.zip |
2007-03-07 Jeremy Katz <katzj@redhat.com>
* backend.py (AnacondaBackend.initLog): Don't open the install log
twice (Elliot Peele)
* installclass.py (availableClasses): Log a warning when there's
an error loading an installclass; raise it in debug mode (Elliot Peele)
* exception.py: rpm import not used (Elliot Peele)
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/installclass.py b/installclass.py index d10ba3640..00846732f 100644 --- a/installclass.py +++ b/installclass.py @@ -527,7 +527,9 @@ def availableClasses(showHidden=0): if obj.hidden == 0 or showHidden == 1: list.append(((obj.name, obj, obj.pixmap), sortOrder)) except: - pass + log.warning ("module import of %s failed: %s" % (mainName, sys.exc_type)) + if flags.debug: raise + else: continue list.sort(ordering) for (item, priority) in list: |