[GRASS-SVN] r65723 - grass/branches/releasebranch_7_0/lib/python/pygrass/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 20 12:14:35 PDT 2015


Author: lucadelu
Date: 2015-07-20 12:14:35 -0700 (Mon, 20 Jul 2015)
New Revision: 65723

Modified:
   grass/branches/releasebranch_7_0/lib/python/pygrass/raster/__init__.py
Log:
pygrass: backported RasterSegment fix r65174 related to #2599

Modified: grass/branches/releasebranch_7_0/lib/python/pygrass/raster/__init__.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/pygrass/raster/__init__.py	2015-07-20 19:13:37 UTC (rev 65722)
+++ grass/branches/releasebranch_7_0/lib/python/pygrass/raster/__init__.py	2015-07-20 19:14:35 UTC (rev 65723)
@@ -412,8 +412,8 @@
                 self.segment.open(self)
                 self.map2segment()
                 self.segment.flush()
-                self.cats.read(self)
-                self.hist.read(self.name)
+                self.cats.read()
+                self.hist.read()
 
                 if self.mode == "rw":
                     warning(_(WARN_OVERWRITE.format(self)))



More information about the grass-commit mailing list