浏览代码

g.extension: catch all exceptions when unable to read metadata

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60155 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 年之前
父节点
当前提交
a0b12811a9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/g.extension/g.extension.py

+ 1 - 1
scripts/g.extension/g.extension.py

@@ -618,7 +618,7 @@ def install_extension_xml(url, mlist):
                 'files' : fList,
                 }
 
-    except HTTPError:
+    except:
         grass.error(_("Unable to read metadata file from the remote server"))
 
     if not data: