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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 8 19:55:23 PDT 2018


Author: wenzeslaus
Date: 2018-08-08 19:55:23 -0700 (Wed, 08 Aug 2018)
New Revision: 73070

Modified:
   grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py
Log:
r.in.pdal: no need to concat strings manually (language feature), wording

Modified: grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py
===================================================================
--- grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py	2018-08-09 02:48:49 UTC (rev 73069)
+++ grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py	2018-08-09 02:55:23 UTC (rev 73070)
@@ -299,8 +299,8 @@
     if scan:
         if not grass.find_program('pdal', 'info --summary'):
             grass.fatal(_(
-                "The pdal program is not in the path " +
-                "and executable. Please install first"))
+                "The pdal program is not in the path "
+                "and executable. Please install it first"))
         command_scan = ['pdal', 'info', '--summary', infile]
         tmp_scan = grass.tempfile()
         if tmp_scan is None:
@@ -319,7 +319,7 @@
             # check to see if pdal executed properly
             os.remove(tmp_scan)
             grass.fatal(_(
-                "pdal cannot determine metadata " +
+                "pdal cannot determine metadata "
                 "for unsupported format of <%s>") % infile)
         data = json.load(open(tmp_scan))
         if summary:



More information about the grass-commit mailing list