[GRASS-SVN] r63505 - grass/trunk/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 12 07:01:52 PST 2014


Author: martinl
Date: 2014-12-12 07:01:52 -0800 (Fri, 12 Dec 2014)
New Revision: 63505

Modified:
   grass/trunk/gui/wxpython/vdigit/wxdigit.py
Log:
wxGUI: don't use tabs in the code (introduced in r63341)

Modified: grass/trunk/gui/wxpython/vdigit/wxdigit.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/wxdigit.py	2014-12-12 14:18:04 UTC (rev 63504)
+++ grass/trunk/gui/wxpython/vdigit/wxdigit.py	2014-12-12 15:01:52 UTC (rev 63505)
@@ -371,10 +371,10 @@
     
     def _addChangeset(self):
 
-	# disable redo
-	changesetLast = len(self.changesets) - 1
-	if self.changesetCurrent < changesetLast and len(self.changesets) > 0:
-	    del self.changesets[self.changesetCurrent + 1:changesetLast + 1]
+        # disable redo
+        changesetLast = len(self.changesets) - 1
+        if self.changesetCurrent < changesetLast and len(self.changesets) > 0:
+            del self.changesets[self.changesetCurrent + 1:changesetLast + 1]
             self.toolbar.EnableRedo(False)
 
         data = list()
@@ -405,7 +405,7 @@
         
         ret = 0
         actions = self.changesets[changeset]
-	
+        
         if undo:
             firstaction = 0
             lastaction = len(actions)
@@ -1782,7 +1782,7 @@
             self._error.WriteLine()
             return (-1, None)
 
-	fids.append(newline)
+        fids.append(newline)
         
         # add centroids for left/right area
         if ftype & GV_AREA:



More information about the grass-commit mailing list