浏览代码

wxGUI: do not print messages to sys.stderr, exception is raised instead (merge from debrg6, https://trac.osgeo.org/grass/changeset/32567)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32568 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 17 年之前
父节点
当前提交
30957c53ce
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/gcmd.py

+ 1 - 1
gui/wxpython/gui_modules/gcmd.py

@@ -293,7 +293,7 @@ class Command:
     """
     def __init__ (self, cmd, stdin=None,
                   verbose=None, wait=True, rerr=False,
-                  stdout=None, stderr=sys.stderr):
+                  stdout=None, stderr=None):
 
         self.cmd = cmd
         self.stderr = stderr