[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 3/3] Don't traceback when displaying %post error messages (#654074).



---
 text.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/text.py b/text.py
index 1021e4f..bd694e3 100644
--- a/text.py
+++ b/text.py
@@ -304,7 +304,7 @@ class InstallInterface(InstallInterfaceBase):
                               default=None, custom_icon=None,
                               custom_buttons=[], expanded=False):
         t = TextboxReflowed(60, text, maxHeight=8)
-        lt = Textbox(60, 6, longText, scroll=1, wrap=1)
+        lt = Textbox(60, 6, "\n".join(longText), scroll=1, wrap=1)
         g = GridFormHelp(self.screen, title, help, 1, 3)
         g.add(t, 0, 0)
         g.add(lt, 0, 1, padding = (0, 1, 0, 1))
-- 
1.7.1.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]