summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-11-28 17:04:36 -0500
committerChris Lumens <clumens@redhat.com>2007-11-28 17:04:36 -0500
commitf8b3a369fc75111f51c27dfd28d1a5d2c96dc835 (patch)
tree0bd9b0e75ec20e2659b1f0f81e4383c3d39b86b7 /text.py
parent07b578e4312daff7ebd220ce1a903c1d39050d5e (diff)
downloadanaconda-f8b3a369fc75111f51c27dfd28d1a5d2c96dc835.tar.gz
anaconda-f8b3a369fc75111f51c27dfd28d1a5d2c96dc835.tar.xz
anaconda-f8b3a369fc75111f51c27dfd28d1a5d2c96dc835.zip
Pass the screen instance to the exn dialogs to avoid a traceback (#403381).
Diffstat (limited to 'text.py')
-rw-r--r--text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/text.py b/text.py
index 9af171cf4..dc3c01f77 100644
--- a/text.py
+++ b/text.py
@@ -343,7 +343,7 @@ class InstallInterface:
from string import joinfields
list = traceback.format_exception(type, value, tb)
text = joinfields(list, "")
- win = MainExceptionWindow(text, "/tmp/anacdump.txt")
+ win = MainExceptionWindow(text, "/tmp/anacdump.txt", screen=screen)
win.run()
rc = win.getrc()
if rc == 1:
@@ -475,7 +475,7 @@ class InstallInterface:
return exnWin
def saveExceptionWindow(self, anaconda, longTextFile):
- win = SaveExceptionWindow (anaconda, longTextFile)
+ win = SaveExceptionWindow (anaconda, longTextFile, self.screen)
return win
def partedExceptionWindow(self, exc):