[GRASS-SVN] r36555 - grass/trunk/scripts/v.centroids
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Mar 31 17:42:33 EDT 2009
Author: martinl
Date: 2009-03-31 17:42:33 -0400 (Tue, 31 Mar 2009)
New Revision: 36555
Modified:
grass/trunk/scripts/v.centroids/v.centroids.py
Log:
v.centroids: remove unused variables
Modified: grass/trunk/scripts/v.centroids/v.centroids.py
===================================================================
--- grass/trunk/scripts/v.centroids/v.centroids.py 2009-03-31 21:40:33 UTC (rev 36554)
+++ grass/trunk/scripts/v.centroids/v.centroids.py 2009-03-31 21:42:33 UTC (rev 36555)
@@ -75,9 +75,6 @@
def main():
if options['option'] == 'add':
- num_bound = 0
- tenv = os.environ.copy()
- tenv['LC_ALL'] = 'C'
num_bound = grass.vector_info_topo(map = options['input'])['boundaries']
if num_bound == 0:
grass.fatal("Input vector map contains no boundaries.")
More information about the grass-commit
mailing list