浏览代码

Controller is now old-style class, please test

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40447 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anne Ghisla 15 年之前
父节点
当前提交
ab3d2e3849
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      scripts/v.krige/v.krige.py

+ 2 - 1
scripts/v.krige/v.krige.py

@@ -147,7 +147,8 @@ rinterface = None
 
 
 #classes in alphabetical order. methods in logical order :)
 #classes in alphabetical order. methods in logical order :)
 
 
-class Controller():
+# <2.5 class definition, without () - please test 
+class Controller:
     """ Executes analysis. For the moment, only with gstat functions."""
     """ Executes analysis. For the moment, only with gstat functions."""
     
     
     def ImportMap(self, map, column):
     def ImportMap(self, map, column):