[GRASS-SVN] r48457 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 25 05:58:02 EDT 2011


Author: martinl
Date: 2011-09-25 02:58:02 -0700 (Sun, 25 Sep 2011)
New Revision: 48457

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI: fix typo in variable name


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2011-09-25 09:56:36 UTC (rev 48456)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2011-09-25 09:58:02 UTC (rev 48457)
@@ -231,7 +231,7 @@
         
         # stream redirection
         self.cmdStdOut = GMStdout(self)
-        self.cmdStrErr = GMStderr(self)
+        self.cmdStdErr = GMStderr(self)
         
         # thread
         self.cmdThread = CmdThread(self, self.requestQ, self.resultQ)
@@ -361,7 +361,7 @@
         if Debug.GetLevel() == 0 and int(grass.gisenv().get('DEBUG', 0)) == 0:
             # don't redirect when debugging is enabled
             sys.stdout = self.cmdStdOut
-            sys.stderr = self.cmdStrErr
+            sys.stderr = self.cmdStdErr
         else:
             enc = locale.getdefaultlocale()[1]
             if enc:
@@ -539,7 +539,7 @@
                     menuform.GUI(parent = self).ParseCommand(command)
                 else:
                     # process GRASS command with argument
-                    self.cmdThread.RunCmd(command, stdout = self.cmdStdOut, stderr = self.cmdStrErr,
+                    self.cmdThread.RunCmd(command, stdout = self.cmdStdOut, stderr = self.cmdStdErr,
                                           onDone = onDone)
                     self.cmdOutputTimer.Start(50)
                     
@@ -564,7 +564,7 @@
                 # process GRASS command without argument
                 menuform.GUI(parent = self).ParseCommand(command)
             else:
-                self.cmdThread.RunCmd(command, stdout = self.cmdStdOut, stderr = self.cmdStrErr,
+                self.cmdThread.RunCmd(command, stdout = self.cmdStdOut, stderr = self.cmdStdErr,
                                       onDone = onDone)
             self.cmdOutputTimer.Start(50)
         
@@ -587,7 +587,7 @@
         @param err True to get stderr widget
         """
         if err:
-            return self.cmdStrErr
+            return self.cmdStdErr
         
         return self.cmdStdOut
     



More information about the grass-commit mailing list