[GRASS-SVN] r74108 - grass-addons/grass7/raster/r.in.pdal

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 19 03:01:32 PST 2019


Author: AnikaBettge
Date: 2019-02-19 03:01:32 -0800 (Tue, 19 Feb 2019)
New Revision: 74108

Modified:
   grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py
Log:
python3 compatible

Modified: grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py
===================================================================
--- grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py	2019-02-19 09:38:30 UTC (rev 74107)
+++ grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py	2019-02-19 11:01:32 UTC (rev 74108)
@@ -467,7 +467,7 @@
         empty_histroy = grass.tempfile()
         if empty_histroy is None:
             grass.fatal("Unable to create temporary files")
-        f = file(empty_histroy, 'w')
+        f = open(empty_histroy, 'w')
         f.close()
         grass.run_command(
                             'r.support',



More information about the grass-commit mailing list