summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-09-25 13:54:18 -0400
committerChris Lumens <clumens@redhat.com>2009-09-25 13:55:07 -0400
commit5e8a1ddd68ee4e0923278e6b8418d58788255001 (patch)
tree49e766197ae625b412578eda6d5e40b6c8e89aa2
parent5138026818a75e6e38f1201a239b8684ce238d7a (diff)
downloadanaconda-5e8a1ddd68ee4e0923278e6b8418d58788255001.tar.gz
anaconda-5e8a1ddd68ee4e0923278e6b8418d58788255001.tar.xz
anaconda-5e8a1ddd68ee4e0923278e6b8418d58788255001.zip
Adapt to python-meh passing a bug description around.
-rwxr-xr-xgui.py4
-rw-r--r--text.py5
2 files changed, 5 insertions, 4 deletions
diff --git a/gui.py b/gui.py
index 6eab12b3b..b456d5b8a 100755
--- a/gui.py
+++ b/gui.py
@@ -1080,9 +1080,9 @@ class InstallInterface:
addFrame(win.dialog)
return win
- def saveExceptionWindow(self, longTextFile):
+ def saveExceptionWindow(self, longTextFile, desc="", *args, **kwargs):
from meh.ui.gui import SaveExceptionWindow
- win = SaveExceptionWindow (self.anaconda, longTextFile)
+ win = SaveExceptionWindow (longTextFile, desc=desc, *args, **kwargs)
addFrame(win.dialog)
return win
diff --git a/text.py b/text.py
index f2a1c6972..6ca7d82a6 100644
--- a/text.py
+++ b/text.py
@@ -356,9 +356,10 @@ class InstallInterface:
exnWin = MainExceptionWindow(shortText, longTextFile, screen=self.screen)
return exnWin
- def saveExceptionWindow(self, longTextFile):
+ def saveExceptionWindow(self, longTextFile, desc="", *args, **kwargs):
from meh.ui.text import SaveExceptionWindow
- win = SaveExceptionWindow (self.anaconda, longTextFile, screen=self.screen)
+ win = SaveExceptionWindow (longTextFile, desc=desc, screen=self.screen,
+ *args, **kwargs)
return win
def waitWindow(self, title, text):