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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 17 15:59:29 EST 2009


Author: martinl
Date: 2009-01-17 15:59:29 -0500 (Sat, 17 Jan 2009)
New Revision: 35473

Modified:
   grass/branches/develbranch_6/lib/python/grass.py
Log:
fix grass.py layer name
    (merge from trunk, r35472)


Modified: grass/branches/develbranch_6/lib/python/grass.py
===================================================================
--- grass/branches/develbranch_6/lib/python/grass.py	2009-01-17 20:56:19 UTC (rev 35472)
+++ grass/branches/develbranch_6/lib/python/grass.py	2009-01-17 20:59:29 UTC (rev 35473)
@@ -455,8 +455,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