[GRASS-SVN] r40033 - grass/trunk/scripts/v.dissolve
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 17 07:36:32 EST 2009
Author: mmetz
Date: 2009-12-17 07:36:31 -0500 (Thu, 17 Dec 2009)
New Revision: 40033
Modified:
grass/trunk/scripts/v.dissolve/v.dissolve.py
Log:
coltype check fixed
Modified: grass/trunk/scripts/v.dissolve/v.dissolve.py
===================================================================
--- grass/trunk/scripts/v.dissolve/v.dissolve.py 2009-12-16 21:21:10 UTC (rev 40032)
+++ grass/trunk/scripts/v.dissolve/v.dissolve.py 2009-12-17 12:36:31 UTC (rev 40033)
@@ -88,7 +88,7 @@
except KeyError:
grass.fatal(_('Column <%s> not found') % column)
- if coltype not in ('INTEGER', 'CHARACTER'):
+ if coltype['type'] not in ('INTEGER', 'CHARACTER'):
grass.fatal(_("Key column must be of type integer or string"))
f = grass.vector_layer_db(input, layer)
More information about the grass-commit
mailing list