[GRASS-SVN] r33603 - grass/trunk/scripts/r.in.aster

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 29 19:48:38 EDT 2008


Author: glynn
Date: 2008-09-29 19:48:38 -0400 (Mon, 29 Sep 2008)
New Revision: 33603

Modified:
   grass/trunk/scripts/r.in.aster/r.in.aster.py
Log:
Fix typo (find_command -> find_program)


Modified: grass/trunk/scripts/r.in.aster/r.in.aster.py
===================================================================
--- grass/trunk/scripts/r.in.aster/r.in.aster.py	2008-09-29 23:46:48 UTC (rev 33602)
+++ grass/trunk/scripts/r.in.aster/r.in.aster.py	2008-09-29 23:48:38 UTC (rev 33603)
@@ -108,7 +108,7 @@
     band = options['band']
 
     #check whether gdalwarp is in path and executable
-    if not grass.find_command('gdalwarp', ['--version']):
+    if not grass.find_program('gdalwarp', ['--version']):
         grass.fatal("gdalwarp is not in the path and executable")
 
     #create temporary file to hold gdalwarp output before importing to GRASS



More information about the grass-commit mailing list