summaryrefslogtreecommitdiffstats
path: root/cmdline.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-10-15 11:51:14 -0400
committerChris Lumens <clumens@redhat.com>2009-10-15 11:51:14 -0400
commit770a67a2702b92db1983f1a9baa73a8a0ea3e168 (patch)
treed310c7ee44792d423e64daeae7f30f8c30dd918b /cmdline.py
parentbe0ed2274bda569f960ce91350b2fb57f8e36f3c (diff)
downloadanaconda-770a67a2702b92db1983f1a9baa73a8a0ea3e168.tar.gz
anaconda-770a67a2702b92db1983f1a9baa73a8a0ea3e168.tar.xz
anaconda-770a67a2702b92db1983f1a9baa73a8a0ea3e168.zip
For cmdline mode, add the long text to what messageWindow will print (#528006).
Diffstat (limited to 'cmdline.py')
-rw-r--r--cmdline.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmdline.py b/cmdline.py
index 5fe9d205c..310dc7662 100644
--- a/cmdline.py
+++ b/cmdline.py
@@ -107,6 +107,9 @@ class InstallInterface:
def detailedMessageWindow(self, title, text, longText=None, type="ok",
default=None, custom_buttons=None,
custom_icon=None):
+ if longText:
+ text += "\n\n%s" % longText
+
self.messageWindow(title, text, type=type, default=default,
custom_buttons=custom_buttons, custom_icon=custom_icon)