[GRASS-SVN] r65714 - grass/trunk/lib/python/pygrass/raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 20 10:50:07 PDT 2015
Author: lucadelu
Date: 2015-07-20 10:50:07 -0700 (Mon, 20 Jul 2015)
New Revision: 65714
Modified:
grass/trunk/lib/python/pygrass/raster/__init__.py
Log:
pygrass: try to fix RasterSegment (#2599)
Modified: grass/trunk/lib/python/pygrass/raster/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/raster/__init__.py 2015-07-20 17:41:35 UTC (rev 65713)
+++ grass/trunk/lib/python/pygrass/raster/__init__.py 2015-07-20 17:50:07 UTC (rev 65714)
@@ -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