[GRASS-SVN] r55048 - grass/trunk/lib/python/pygrass/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 14 06:57:11 PST 2013


Author: lucadelu
Date: 2013-02-14 06:57:11 -0800 (Thu, 14 Feb 2013)
New Revision: 55048

Modified:
   grass/trunk/lib/python/pygrass/raster/__init__.py
Log:
fix variable in RasterRowIO

Modified: grass/trunk/lib/python/pygrass/raster/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/raster/__init__.py	2013-02-14 14:56:14 UTC (rev 55047)
+++ grass/trunk/lib/python/pygrass/raster/__init__.py	2013-02-14 14:57:11 UTC (rev 55048)
@@ -220,7 +220,7 @@
         """
         if row_buffer is None:
             row_buffer = Buffer((self._cols,), self.mtype)
-        rowio_buf = librowio.Rowio_get(ctypes.byref(self.rowio.crowio), row)
+        rowio_buf = librowio.Rowio_get(ctypes.byref(self.rowio.c_rowio), row)
         ctypes.memmove(row_buffer.p, rowio_buf, self.rowio.row_size)
         return row_buffer
 



More information about the grass-commit mailing list