[GRASS-SVN] r38029 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 23 02:13:50 EDT 2009


Author: martinl
Date: 2009-06-23 02:13:42 -0400 (Tue, 23 Jun 2009)
New Revision: 38029

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
   grass/trunk/gui/wxpython/gui_modules/workspace.py
Log:
fix python (2.4) syntax


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2009-06-22 17:48:21 UTC (rev 38028)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2009-06-23 06:13:42 UTC (rev 38029)
@@ -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/trunk/gui/wxpython/gui_modules/workspace.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/workspace.py	2009-06-22 17:48:21 UTC (rev 38028)
+++ grass/trunk/gui/wxpython/gui_modules/workspace.py	2009-06-23 06:13:42 UTC (rev 38029)
@@ -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