[GRASS-SVN] r68238 - grass/trunk/gui/wxpython/wxplot

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 9 20:24:42 PDT 2016


Author: annakrat
Date: 2016-04-09 20:24:42 -0700 (Sat, 09 Apr 2016)
New Revision: 68238

Modified:
   grass/trunk/gui/wxpython/wxplot/dialogs.py
Log:
wxGUI: fix histogram of imagery group on Windows, see #2961

Modified: grass/trunk/gui/wxpython/wxplot/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/wxplot/dialogs.py	2016-04-09 22:41:36 UTC (rev 68237)
+++ grass/trunk/gui/wxpython/wxplot/dialogs.py	2016-04-10 03:24:42 UTC (rev 68238)
@@ -491,7 +491,7 @@
         ret = grass.read_command('i.group', 
                                   group = '%s' % self.group, 
                                   quiet = True,
-                                  flags = 'g').strip().split('\n')
+                                  flags = 'g').strip().splitlines()
 
         if ret not in [None, '', ['']]:
             self.rasterList = ret



More information about the grass-commit mailing list