summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-08-07 10:03:32 -0400
committerChris Lumens <clumens@redhat.com>2009-08-07 10:23:23 -0400
commitc54e4b1688ce51c4ee9b24e26090e7c0f0919030 (patch)
tree41df0b92544ebaa92e6f63a5b722349776f63123 /exception.py
parent2694e31a34d7f89ab84d59fbdfcffd3986cc1fcb (diff)
downloadanaconda-c54e4b1688ce51c4ee9b24e26090e7c0f0919030.tar.gz
anaconda-c54e4b1688ce51c4ee9b24e26090e7c0f0919030.tar.xz
anaconda-c54e4b1688ce51c4ee9b24e26090e7c0f0919030.zip
vtActivate doesn't work on some ppc64 machines, so don't traceback (#516206).
Diffstat (limited to 'exception.py')
-rw-r--r--exception.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/exception.py b/exception.py
index 15aa6c7ed..0df4eab7a 100644
--- a/exception.py
+++ b/exception.py
@@ -52,7 +52,13 @@ class AnacondaExceptionHandler(ExceptionHandler):
pass
def runDebug(self, (ty, value, tb)):
- isys.vtActivate(1)
+ # vtActivate does not work on certain ppc64 machines, so just skip
+ # that and continue with the rest of the debugger setup.
+ try:
+ isys.vtActivate(1)
+ except SystemError:
+ pass
+
self.intf.__del__ ()
pidfl = "/tmp/vncshell.pid"