diff options
author | Chris Lumens <clumens@redhat.com> | 2009-07-15 14:37:03 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-07-29 15:24:53 -0400 |
commit | b2354c161be732ce3605e337bb852ccf5f55a678 (patch) | |
tree | 9386be56efcddc9ecae04544755a52a5fec76bd8 /packages.py | |
parent | f333aa6b95836492d7378d528b1b4a3779adf362 (diff) | |
download | anaconda-b2354c161be732ce3605e337bb852ccf5f55a678.tar.gz anaconda-b2354c161be732ce3605e337bb852ccf5f55a678.tar.xz anaconda-b2354c161be732ce3605e337bb852ccf5f55a678.zip |
Adapt exception.py to using python-meh.
This involves getting rid of most of the real code out of this file, adding a
minimal subclass of the ExceptionHandler class to do the copying and pdb setup
anaconda needs, and calling the install method from within anaconda. We also
need to no longer call handleException from elsewhere in anaconda. That method
no longer exists.
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages.py b/packages.py index 0721923e0..4e90b7c9b 100644 --- a/packages.py +++ b/packages.py @@ -33,7 +33,6 @@ import string import language import shutil import traceback -from exception import handleException from flags import flags from product import * from constants import * @@ -189,7 +188,7 @@ def turnOnFilesystems(anaconda): custom_buttons = [_("_File Bug"), _("_Exit installer")]) if rc == 0: - handleException(anaconda, sys.exc_info()) + raise elif rc == 1: sys.exit(1) |