eric6/Debugger/DebugUI.py

branch
multi_processing
changeset 7856
82c461fa8a68
parent 7853
35dcac32984a
child 7863
6725d2549801
--- a/eric6/Debugger/DebugUI.py	Sat Dec 05 18:13:05 2020 +0100
+++ b/eric6/Debugger/DebugUI.py	Sat Dec 05 18:25:31 2020 +0100
@@ -1059,16 +1059,17 @@
                     info = ""
                 if program is None:
                     E5MessageBox.information(
-                        self.ui, Program, self.tr(
-                            '<p>The program has terminated with an exit'
-                            ' status of {0}.</p>{1}').format(status, info)
+                        self.ui, Program,
+                        self.tr('<p>The program has terminated with an exit'
+                                ' status of {0}.</p>{1}').format(status, info)
                     )
                 else:
                     E5MessageBox.information(
-                        self.ui, Program, self.tr(
-                            '<p><b>{0}</b> has terminated with an exit'
-                            ' status of {1}.</p>{2}').format(
-                            .format(os.path.abspath(self.ui.currentProg),
+                        self.ui, Program,
+                        self.tr('<p><b>{0}</b> has terminated with an exit'
+                                ' status of {1}.</p>{2}').format(
+                            os.path.abspath(self.ui.currentProg),
+                            status, info)
                     )
             else:
                 if message:
@@ -1099,7 +1100,8 @@
                         self.appendStdout.emit(self.tr(
                             '"{0}" has terminated with an exit status of'
                             ' {1}.\n{2}\n').format(
-                            os.path.abspath(self.ui.currentProg), status,
+                            os.path.abspath(self.ui.currentProg),
+                            status, info)
                         )
     
     def __lastClientExited(self):

eric ide

mercurial