瀏覽代碼

fix trac https://trac.osgeo.org/grass/ticket/501
(merge from relbr64, https://trac.osgeo.org/grass/changeset/35998)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35999 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 16 年之前
父節點
當前提交
43e119dff2
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      gui/wxpython/gui_modules/goutput.py

+ 3 - 3
gui/wxpython/gui_modules/goutput.py

@@ -632,13 +632,13 @@ class GMStderr:
                     progressValue = 0
             elif 'GRASS_INFO_MESSAGE' in line:
                 self.type = 'message'
-                self.message = line.split(':', 1)[1].strip()
+                self.message += line.split(':', 1)[1].strip() + '\n'
             elif 'GRASS_INFO_WARNING' in line:
                 self.type = 'warning'
-                self.message = line.split(':', 1)[1].strip()
+                self.message += line.split(':', 1)[1].strip() + '\n'
             elif 'GRASS_INFO_ERROR' in line:
                 self.type = 'error'
-                self.message = line.split(':', 1)[1].strip()
+                self.message += line.split(':', 1)[1].strip() + '\n'
             elif 'GRASS_INFO_END' in line:
                 self.printMessage = True
             elif self.type == '':