[GRASS-SVN] r46892 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jul 1 04:01:02 EDT 2011


Author: martinl
Date: 2011-07-01 01:01:02 -0700 (Fri, 01 Jul 2011)
New Revision: 46892

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
Log:
wxGUI: fix external formats dialog - `v.out.ogr -l`
       (merge r46890 from devbr6)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py	2011-07-01 07:58:51 UTC (rev 46891)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py	2011-07-01 08:01:02 UTC (rev 46892)
@@ -1410,7 +1410,7 @@
                     self.btn_run.Enable(False)
                 return
             layerId = 1
-            for line in ret.splitlines():
+            for line in ret.split(','):
                 layerName = line.strip()
                 grassName = utils.GetValidLayerName(layerName)
                 data.append((layerId, layerName.strip(), grassName.strip()))



More information about the grass-commit mailing list