[GRASS-SVN] r66793 - in grass-addons/grass7/raster/r.agent: libagent tests

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 11 08:53:56 PST 2015


Author: mic
Date: 2015-11-11 08:53:56 -0800 (Wed, 11 Nov 2015)
New Revision: 66793

Modified:
   grass-addons/grass7/raster/r.agent/libagent/Makefile
   grass-addons/grass7/raster/r.agent/libagent/world.py
   grass-addons/grass7/raster/r.agent/tests/test_ant.py
   grass-addons/grass7/raster/r.agent/tests/test_playground.py
Log:
cleanup whitespace

Modified: grass-addons/grass7/raster/r.agent/libagent/Makefile
===================================================================
--- grass-addons/grass7/raster/r.agent/libagent/Makefile	2015-11-11 16:51:47 UTC (rev 66792)
+++ grass-addons/grass7/raster/r.agent/libagent/Makefile	2015-11-11 16:53:56 UTC (rev 66793)
@@ -13,10 +13,10 @@
 default: $(PYFILES) $(PYCFILES)
 
 $(ETCDIR):
-	$(MKDIR) $@
+    $(MKDIR) $@
 
 $(ETCDIR)/%: % | $(ETCDIR)
-	$(INSTALL_DATA) $< $@
+    $(INSTALL_DATA) $< $@
 
 install:
-	cp -r $(ETCDIR) $(INST_DIR)/etc
+    cp -r $(ETCDIR) $(INST_DIR)/etc

Modified: grass-addons/grass7/raster/r.agent/libagent/world.py
===================================================================
--- grass-addons/grass7/raster/r.agent/libagent/world.py	2015-11-11 16:51:47 UTC (rev 66792)
+++ grass-addons/grass7/raster/r.agent/libagent/world.py	2015-11-11 16:53:56 UTC (rev 66793)
@@ -81,7 +81,7 @@
                 return position
             else:
                 return False
-        else:              
+        else:
             return self.playground.getrandomposition()
 
     def bear(self, timetolive, position=None, agenttype=None):

Modified: grass-addons/grass7/raster/r.agent/tests/test_ant.py
===================================================================
--- grass-addons/grass7/raster/r.agent/tests/test_ant.py	2015-11-11 16:51:47 UTC (rev 66792)
+++ grass-addons/grass7/raster/r.agent/tests/test_ant.py	2015-11-11 16:53:56 UTC (rev 66793)
@@ -143,12 +143,12 @@
 
 #    def test_move(self):
         # This is an Agent method, tested there..
-#        pass    
-    
+#        pass
+
     def test_age(self):
         # This is an Agent method, tested there..
-        pass    
-    
+        pass
+
     def test_snuffit(self):
         # This is an Agent method, tested there..
         pass

Modified: grass-addons/grass7/raster/r.agent/tests/test_playground.py
===================================================================
--- grass-addons/grass7/raster/r.agent/tests/test_playground.py	2015-11-11 16:51:47 UTC (rev 66792)
+++ grass-addons/grass7/raster/r.agent/tests/test_playground.py	2015-11-11 16:53:56 UTC (rev 66793)
@@ -44,7 +44,7 @@
         ew = 1
         r = self.pg.region["rows"]
         c = self.pg.region["cols"]
-  
+
         self.assertIsNotNone(n)
         self.assertIsNotNone(s)
         self.assertIsNotNone(w)



More information about the grass-commit mailing list