[GRASS-SVN] r43839 - grass/branches/releasebranch_6_4/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 9 14:46:20 EDT 2010
Author: martinl
Date: 2010-10-09 18:46:20 +0000 (Sat, 09 Oct 2010)
New Revision: 43839
Modified:
grass/branches/releasebranch_6_4/lib/python/vector.py
Log:
pythonlib: fix typo
(merge r43837 from trunk)
Modified: grass/branches/releasebranch_6_4/lib/python/vector.py
===================================================================
--- grass/branches/releasebranch_6_4/lib/python/vector.py 2010-10-09 18:43:38 UTC (rev 43838)
+++ grass/branches/releasebranch_6_4/lib/python/vector.py 2010-10-09 18:46:20 UTC (rev 43839)
@@ -74,16 +74,16 @@
def vector_layer_db(map, layer):
"""!Return the database connection details for a vector map layer.
If db connection for given layer is not defined, fatal() is called.
-
+
@param map map name
@param layer layer number
-
+
@return parsed output
"""
try:
f = vector_db(map)[int(layer)]
except KeyError:
- grass.fatal("Database connection not defined for layer %s" % layer)
+ fatal("Database connection not defined for layer %s" % layer)
return f
More information about the grass-commit
mailing list