[GRASS-SVN] r43838 - grass/branches/develbranch_6/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 9 14:43:38 EDT 2010


Author: martinl
Date: 2010-10-09 18:43:38 +0000 (Sat, 09 Oct 2010)
New Revision: 43838

Modified:
   grass/branches/develbranch_6/lib/python/vector.py
Log:
pythonlib: fix typo
(merge r43837 from trunk)


Modified: grass/branches/develbranch_6/lib/python/vector.py
===================================================================
--- grass/branches/develbranch_6/lib/python/vector.py	2010-10-09 18:42:24 UTC (rev 43837)
+++ grass/branches/develbranch_6/lib/python/vector.py	2010-10-09 18:43:38 UTC (rev 43838)
@@ -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