[GRASS-SVN] r68228 - grass/branches/releasebranch_7_0/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 9 05:32:06 PDT 2016
Author: martinl
Date: 2016-04-09 05:32:06 -0700 (Sat, 09 Apr 2016)
New Revision: 68228
Modified:
grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py
Log:
g.extension: g.extension: option to specify proxy server #1434
Modified: grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py
===================================================================
--- grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py 2016-04-09 11:09:20 UTC (rev 68227)
+++ grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py 2016-04-09 12:32:06 UTC (rev 68228)
@@ -745,8 +745,9 @@
outfile.close()
fo.close()
- except HTTPError:
- grass.fatal(_("GRASS Addons <%s> not found") % name)
+ except (HTTPError, IOError) as e:
+ grass.fatal(_("GRASS Addons <{0}> not found. Reason: {1}").format(
+ name, e))
return 0
More information about the grass-commit
mailing list