소스 검색

g.extension: catch all exceptions when unable to read metadata
(merge https://trac.osgeo.org/grass/changeset/60155 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@60156 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 11 년 전
부모
커밋
e76f177d88
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: