[GRASS-SVN] r68239 - grass/branches/releasebranch_7_0/gui/wxpython/wxplot

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 9 20:27:03 PDT 2016


Author: annakrat
Date: 2016-04-09 20:27:03 -0700 (Sat, 09 Apr 2016)
New Revision: 68239

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/wxplot/dialogs.py
Log:
wxGUI: fix histogram of imagery group on Windows, see #2961 (merge from trunk, r68238)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/wxplot/dialogs.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/wxplot/dialogs.py	2016-04-10 03:24:42 UTC (rev 68238)
+++ grass/branches/releasebranch_7_0/gui/wxpython/wxplot/dialogs.py	2016-04-10 03:27:03 UTC (rev 68239)
@@ -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