[GRASS-SVN] r60156 - grass/branches/releasebranch_7_0/scripts/g.extension

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 9 04:13:13 PDT 2014


Author: martinl
Date: 2014-05-09 04:13:13 -0700 (Fri, 09 May 2014)
New Revision: 60156

Modified:
   grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py
Log:
g.extension: catch all exceptions when unable to read metadata
             (merge r60155 from trunk)


Modified: grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py
===================================================================
--- grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py	2014-05-09 11:11:32 UTC (rev 60155)
+++ grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py	2014-05-09 11:13:13 UTC (rev 60156)
@@ -618,7 +618,7 @@
                 'files' : fList,
                 }
 
-    except HTTPError:
+    except:
         grass.error(_("Unable to read metadata file from the remote server"))
 
     if not data:



More information about the grass-commit mailing list