ソースを参照

fix python (2.4) syntax

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38029 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 年 前
コミット
59896fa357

+ 1 - 1
gui/wxpython/gui_modules/menuform.py

@@ -399,7 +399,7 @@ class grassTask:
 
         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.

+ 1 - 1
gui/wxpython/gui_modules/workspace.py

@@ -42,7 +42,7 @@ try:
 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.