[GRASS-dev] bug in python version of v.db.renamecol / db_describe
?
Glynn Clements
glynn at gclements.plus.com
Tue Nov 18 13:21:00 EST 2008
Moritz Lennert wrote:
> Trying to debug the v.db.renamecol bash version, I also tried with the
> python version and it seems there is a bug, which IIUC should be fixed
> by the following patch. Can you confirm or do I misunderstand how
> db_describe works ?
> - for f in grass.db_describe(table):
> + for f in grass.db_describe(table)['cols']:
That's correct. Committed as r34374, which also fixes the same bug in
v.db.dropcol.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list