[GRASS-SVN] r50847 - grass/trunk/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 17 15:56:42 EST 2012
Author: martinl
Date: 2012-02-17 12:56:42 -0800 (Fri, 17 Feb 2012)
New Revision: 50847
Modified:
grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: simplify wingrass-addons url
Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py 2012-02-17 20:55:59 UTC (rev 50846)
+++ grass/trunk/scripts/g.extension/g.extension.py 2012-02-17 20:56:42 UTC (rev 50847)
@@ -652,9 +652,6 @@
### TODO: do not use hardcoded url - http://wingrass.fsv.cvut.cz/grassXX/addonsX.X.X
grass.message(_("Downloading precompiled GRASS Addons <%s>...") % options['extension'])
url = "http://wingrass.fsv.cvut.cz/grass%s%s/addons" % (version[0], version[1])
-
- if version[2][-3:] != 'svn':
- url += '%s.%s.%s' % (version[0], version[1], version[2])
grass.debug("url=%s" % url, 1)
try:
More information about the grass-commit
mailing list