[GRASS-SVN] r43837 - grass/trunk/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 9 14:42:24 EDT 2010


Author: martinl
Date: 2010-10-09 18:42:24 +0000 (Sat, 09 Oct 2010)
New Revision: 43837

Modified:
   grass/trunk/lib/python/vector.py
Log:
pythonlib: fix typo


Modified: grass/trunk/lib/python/vector.py
===================================================================
--- grass/trunk/lib/python/vector.py	2010-10-09 18:39:49 UTC (rev 43836)
+++ grass/trunk/lib/python/vector.py	2010-10-09 18:42:24 UTC (rev 43837)
@@ -73,16 +73,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