[GRASS-SVN] r50025 - grass/branches/develbranch_6/gui/scripts
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 1 12:36:52 EST 2012
Author: martinl
Date: 2012-01-01 09:36:52 -0800 (Sun, 01 Jan 2012)
New Revision: 50025
Modified:
grass/branches/develbranch_6/gui/scripts/g.extension.py
Log:
g.extension.py: fix metadata file url
Modified: grass/branches/develbranch_6/gui/scripts/g.extension.py
===================================================================
--- grass/branches/develbranch_6/gui/scripts/g.extension.py 2012-01-01 17:25:23 UTC (rev 50024)
+++ grass/branches/develbranch_6/gui/scripts/g.extension.py 2012-01-01 17:36:52 UTC (rev 50025)
@@ -176,7 +176,7 @@
mlist = list()
# try to download XML metadata file first
- url = "http://grass.osgeo.org/addons/grass%s.xml" % grass.version()['version'].split('.')[0]
+ url = "http://grass.osgeo.org/addons/grass%s/modules.xml" % grass.version()['version'].split('.')[0]
try:
f = urlopen(url)
tree = etree.fromstring(f.read())
@@ -323,7 +323,7 @@
# update local meta-file when installing new extension
def install_extension_xml():
# read metadata from remote server
- url = "http://grass.osgeo.org/addons/grass%s.xml" % grass.version()['version'].split('.')[0]
+ url = "http://grass.osgeo.org/addons/grass%s/modules.xml" % grass.version()['version'].split('.')[0]
data = None
try:
f = urlopen(url)
More information about the grass-commit
mailing list