浏览代码

v.centroids: remove unused variables

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@36555 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 年之前
父节点
当前提交
8860fb1d6c
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      scripts/v.centroids/v.centroids.py

+ 0 - 3
scripts/v.centroids/v.centroids.py

@@ -75,9 +75,6 @@ import grass
 
 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.")