瀏覽代碼

pygrass: try to fix RasterSegment (https://trac.osgeo.org/grass/ticket/2599)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65714 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi 9 年之前
父節點
當前提交
fda37407d0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/python/pygrass/raster/__init__.py

+ 2 - 2
lib/python/pygrass/raster/__init__.py

@@ -412,8 +412,8 @@ class RasterSegment(RasterAbstractBase):
                 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)))