[GRASS-SVN] r61599 - grass/trunk/scripts/g.extension

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 13 13:48:17 PDT 2014


Author: martinl
Date: 2014-08-13 13:48:17 -0700 (Wed, 13 Aug 2014)
New Revision: 61599

Modified:
   grass/trunk/scripts/g.extension/g.extension.py
Log:
g.extension: do not require -s flag for wxGUI extensions

Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py	2014-08-13 20:43:58 UTC (rev 61598)
+++ grass/trunk/scripts/g.extension/g.extension.py	2014-08-13 20:48:17 UTC (rev 61599)
@@ -728,9 +728,7 @@
     classchar = name.split('.', 1)[0]
     moduleclass = expand_module_class_name(classchar)
     url = options['svnurl'] + '/' + moduleclass + '/' + name
-    if classchar == 'wx' and not flags['s']:
-        grass.fatal(_("Installation of wxGUI extension requires -%s flag.") % 's')
-
+    
     grass.message(_("Fetching <%s> from GRASS-Addons SVN (be patient)...") % name)
 
     os.chdir(TMPDIR)



More information about the grass-commit mailing list