[GRASS-SVN] r66806 - grass-addons/grass7/raster/r.agent/r.agent.rand

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 11 09:53:42 PST 2015


Author: mic
Date: 2015-11-11 09:53:42 -0800 (Wed, 11 Nov 2015)
New Revision: 66806

Modified:
   grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py
Log:
fix brackets

Modified: grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py
===================================================================
--- grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py	2015-11-11 17:48:57 UTC (rev 66805)
+++ grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py	2015-11-11 17:53:42 UTC (rev 66806)
@@ -145,7 +145,7 @@
         grass.fatal("Failed to parse args..")
         sys.exit(1)
     if options['maxagents']:
-        maxagents = int(options['maxagents']
+        maxagents = int(options['maxagents'])
     else:
         maxagents = 0
     if options['agentslife']:
@@ -153,7 +153,7 @@
     else:
         agentslife = 99
     if options['mark']:
-        mark = int(options['mark']
+        mark = int(options['mark'])
     else:
         mark = 99
         



More information about the grass-commit mailing list