[GRASS-SVN] r36338 - grass/branches/releasebranch_6_4/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 11 14:15:26 EDT 2009


Author: martinl
Date: 2009-03-11 14:15:26 -0400 (Wed, 11 Mar 2009)
New Revision: 36338

Modified:
   grass/branches/releasebranch_6_4/lib/python/grass.py
Log:
grass.py: fix bug in vector_db
	(backported from relbr64)


Modified: grass/branches/releasebranch_6_4/lib/python/grass.py
===================================================================
--- grass/branches/releasebranch_6_4/lib/python/grass.py	2009-03-11 18:03:36 UTC (rev 36337)
+++ grass/branches/releasebranch_6_4/lib/python/grass.py	2009-03-11 18:15:26 UTC (rev 36338)
@@ -456,8 +456,9 @@
 	f = l.split(';')
 	if len(f) != 5:
 	    continue
+        
         if '/' in f[0]:
-            f1 = f.split('/')
+            f1 = f[0].split('/')
             layer = f1[0]
             name = f1[1]
         else:



More information about the grass-commit mailing list