summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-07-15 14:37:03 -0400
committerChris Lumens <clumens@redhat.com>2009-07-29 15:24:53 -0400
commitb2354c161be732ce3605e337bb852ccf5f55a678 (patch)
tree9386be56efcddc9ecae04544755a52a5fec76bd8 /packages.py
parentf333aa6b95836492d7378d528b1b4a3779adf362 (diff)
downloadanaconda-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.py3
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)