[GRASS-SVN] r39140 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 12 02:57:03 EDT 2009
Author: martinl
Date: 2009-09-12 02:57:02 -0400 (Sat, 12 Sep 2009)
New Revision: 39140
Modified:
grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
replace only 'sh/py' extension
(merge r39137 from relbr64)
Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py 2009-09-12 06:52:57 UTC (rev 39139)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py 2009-09-12 06:57:02 UTC (rev 39140)
@@ -627,7 +627,7 @@
self.parent = parent # LayerTree | None
# module name + keywords
- title = self.task.name.replace('.py', '').replace('.sh', '')
+ title = self.task.name.rstrip('.py').rstrip('.sh')
try:
title += " [" + ', '.join( self.task.keywords ) + "]"
except ValueError:
More information about the grass-commit
mailing list