[GRASS-SVN] r74362 - grass-addons/grass7/imagery/i.sentinel/i.sentinel.download
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 10 02:45:52 PDT 2019
Author: martinl
Date: 2019-04-10 02:45:52 -0700 (Wed, 10 Apr 2019)
New Revision: 74362
Modified:
grass-addons/grass7/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py
Log:
i.sentinel.download: fix python3 syntax
Modified: grass-addons/grass7/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py
===================================================================
--- grass-addons/grass7/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py 2019-04-10 07:50:29 UTC (rev 74361)
+++ grass-addons/grass7/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py 2019-04-10 09:45:52 UTC (rev 74362)
@@ -370,7 +370,7 @@
else:
try:
with open(options['settings'], 'r') as fd:
- lines = filter(None, (line.rstrip() for line in fd)) # non-blank lines only
+ lines = list(filter(None, (line.rstrip() for line in fd))) # non-blank lines only
if len(lines) < 2:
gs.fatal(_("Invalid settings file"))
user = lines[0].strip()
More information about the grass-commit
mailing list