[GRASS-SVN] r34956 - grass/trunk/scripts/v.dissolve

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 20 11:58:42 EST 2008


Author: martinl
Date: 2008-12-20 11:58:42 -0500 (Sat, 20 Dec 2008)
New Revision: 34956

Modified:
   grass/trunk/scripts/v.dissolve/v.dissolve.py
Log:
v.dissolve: variable typo


Modified: grass/trunk/scripts/v.dissolve/v.dissolve.py
===================================================================
--- grass/trunk/scripts/v.dissolve/v.dissolve.py	2008-12-20 16:39:06 UTC (rev 34955)
+++ grass/trunk/scripts/v.dissolve/v.dissolve.py	2008-12-20 16:58:42 UTC (rev 34956)
@@ -75,13 +75,13 @@
     # does map exist?
     if not grass.find_file(input, element = 'vector')['file']:
 	grass.fatal("Vector map <%s> not found" % input)
-
+    
     if not column:
 	grass.run_command('v.extract', flags = 'd', input = input,
 			  output = output, type = 'area', layer = layer)
     else:
         try:
-            coltype = grass.vector_columns(map, layer)[column]
+            coltype = grass.vector_columns(input, layer)[column]
         except KeyError:
             grass.fatal('Column <%s> not found' % column)
         



More information about the grass-commit mailing list