[GRASS-SVN] r66629 - in grass-addons/grass7/raster/r.modis: r.modis.download r.modis.import
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 27 23:42:47 PDT 2015
Author: lucadelu
Date: 2015-10-27 23:42:47 -0700 (Tue, 27 Oct 2015)
New Revision: 66629
Modified:
grass-addons/grass7/raster/r.modis/r.modis.download/r.modis.download.py
grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.py
Log:
r.modis: fixed typos
Modified: grass-addons/grass7/raster/r.modis/r.modis.download/r.modis.download.py
===================================================================
--- grass-addons/grass7/raster/r.modis/r.modis.download/r.modis.download.py 2015-10-28 03:12:40 UTC (rev 66628)
+++ grass-addons/grass7/raster/r.modis/r.modis.download/r.modis.download.py 2015-10-28 06:42:47 UTC (rev 66629)
@@ -176,8 +176,8 @@
if check(options['settings']):
filesett = open(options['settings'], 'r')
fileread = filesett.readlines()
- user = fileread[0].strip()
- passwd = fileread[1].strip()
+ user = 'anonymous'
+ passwd = fileread[0].strip()
filesett.close()
else:
grass.fatal(_("File <%s> not found") % options['settings'])
Modified: grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.py
===================================================================
--- grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.py 2015-10-28 03:12:40 UTC (rev 66628)
+++ grass-addons/grass7/raster/r.modis/r.modis.import/r.modis.import.py 2015-10-28 06:42:47 UTC (rev 66629)
@@ -468,7 +468,7 @@
outfile.close()
grass.message(_("You can continue with temporal framework, registering"
" the maps using t.register "
- "'input={name}'".format(name=outfile.name)))
+ "'file={name}'".format(name=outfile.name)))
if __name__ == "__main__":
options, flags = grass.parser()
More information about the grass-commit
mailing list