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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 17 15:56:19 EST 2009


Author: martinl
Date: 2009-01-17 15:56:19 -0500 (Sat, 17 Jan 2009)
New Revision: 35472

Modified:
   grass/trunk/lib/python/grass.py
Log:
fix grass.py layer name


Modified: grass/trunk/lib/python/grass.py
===================================================================
--- grass/trunk/lib/python/grass.py	2009-01-17 20:34:56 UTC (rev 35471)
+++ grass/trunk/lib/python/grass.py	2009-01-17 20:56:19 UTC (rev 35472)
@@ -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