[GRASS-SVN] r43153 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 16 14:41:25 EDT 2010


Author: martinl
Date: 2010-08-16 18:41:25 +0000 (Mon, 16 Aug 2010)
New Revision: 43153

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/wxnviz.py
Log:
fix r43149


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/wxnviz.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/wxnviz.py	2010-08-16 18:39:48 UTC (rev 43152)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/wxnviz.py	2010-08-16 18:41:25 UTC (rev 43153)
@@ -27,11 +27,6 @@
 from grass.lib.ogsf  import *
 from grass.lib.nviz  import *
 
-errtype = CFUNCTYPE(UNCHECKED(c_int), String, c_int)
-errfunc = errtype(print_error)
-pertype = CFUNCTYPE(UNCHECKED(c_int), c_int)
-perfunc = pertype(print_progress)
-
 from debug import Debug
 
 log      = None
@@ -57,6 +52,11 @@
     
     return 0
 
+errtype = CFUNCTYPE(UNCHECKED(c_int), String, c_int)
+errfunc = errtype(print_error)
+pertype = CFUNCTYPE(UNCHECKED(c_int), c_int)
+perfunc = pertype(print_progress)
+
 class Nviz(object):
     def __init__(self, glog, gprogress):
         """!Initialize Nviz class instance



More information about the grass-commit mailing list