summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xanaconda3
-rw-r--r--splashscreen.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 4e783781a..454df636f 100755
--- a/anaconda
+++ b/anaconda
@@ -617,6 +617,9 @@ instClass.setSteps(dispatch)
# instClass.addToSkipList("mouse")
# instClass.setMouseType("Sun - Mouse", "sunmouse")
+# comment out the next line to make exceptions non-fatal
+sys.excepthook = lambda type, value, tb, dispatch=dispatch, intf=intf: handleException(dispatch, intf, (type, value, tb))
+
try:
intf.run(id, dispatch, configFileData)
except SystemExit, code:
diff --git a/splashscreen.py b/splashscreen.py
index 53c2ded7d..ca994e439 100644
--- a/splashscreen.py
+++ b/splashscreen.py
@@ -15,7 +15,6 @@
import os
os.environ["PYGTK_DISABLE_THREADS"] = "1"
-#os.environ["PYGTK_FATAL_EXCEPTIONS"] = "1"
os.environ["GNOME_DISABLE_CRASH_DIALOG"] = "1"
import gtk