[GRASS-SVN] r38030 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 23 02:15:30 EDT 2009
Author: martinl
Date: 2009-06-23 02:15:28 -0400 (Tue, 23 Jun 2009)
New Revision: 38030
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py
Log:
fix python (2.4) syntax
(merge from trunk, r38029)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py 2009-06-23 06:13:42 UTC (rev 38029)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py 2009-06-23 06:15:28 UTC (rev 38030)
@@ -399,7 +399,7 @@
return cmd
-class processTask():
+class processTask:
"""!A ElementTree handler for the --interface-description output,
as defined in grass-interface.dtd. Extend or modify this and the
DTD if the XML output of GRASS' parser is extended or modified.
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py 2009-06-23 06:13:42 UTC (rev 38029)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py 2009-06-23 06:15:28 UTC (rev 38030)
@@ -42,7 +42,7 @@
except ImportError:
wxnviz = None
-class ProcessWorkspaceFile():
+class ProcessWorkspaceFile:
def __init__(self, tree):
"""!A ElementTree handler for the GXW XML file, as defined in
grass-gxw.dtd.
More information about the grass-commit
mailing list