[GRASS-SVN] r55947 - grass/branches/develbranch_6/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 22 09:34:39 PDT 2013


Author: annakrat
Date: 2013-04-22 09:34:39 -0700 (Mon, 22 Apr 2013)
New Revision: 55947

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py
Log:
wxGUI: fix attribute name (merge from releasebranch, r55946)

Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py	2013-04-22 16:30:52 UTC (rev 55946)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py	2013-04-22 16:34:39 UTC (rev 55947)
@@ -725,27 +725,27 @@
         self.cmdOutput.GotoPos(p1)
         
         if '\b' in message:
-            if self.linepos < 0:
-                self.linepos = p1
+            if self.linePos < 0:
+                self.linePos = p1
             last_c = ''
             for c in message:
                 if c == '\b':
-                    self.linepos -= 1
+                    self.linePos -= 1
                 else:
                     if c == '\r':
                         pos = self.cmdOutput.GetCurLine()[1]
                         # self.cmdOutput.SetCurrentPos(pos)
                     else:
-                        self.cmdOutput.SetCurrentPos(self.linepos)
+                        self.cmdOutput.SetCurrentPos(self.linePos)
                     self.cmdOutput.ReplaceSelection(c)
-                    self.linepos = self.cmdOutput.GetCurrentPos()
+                    self.linePos = self.cmdOutput.GetCurrentPos()
                     if c != ' ':
                         last_c = c
             if last_c not in ('0123456789'):
                 self.cmdOutput.AddTextWrapped('\n', wrap = None)
-                self.linepos = -1
+                self.linePos = -1
         else:
-            self.linepos = -1 # don't force position
+            self.linePos = -1 # don't force position
             if '\n' not in message:
                 self.cmdOutput.AddTextWrapped(message, wrap = 60)
             else:



More information about the grass-commit mailing list