Explorar el Código

Don't call GRASS modules from the top level

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40697 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements hace 15 años
padre
commit
a58927d258
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/v.krige/v.krige.py

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

@@ -137,7 +137,6 @@ except ImportError:
 
 # globals
 
-Region = grass.region()
 Command = None
 InputData = None
 Variogram = None
@@ -419,4 +418,5 @@ if __name__ == '__main__':
     if len(sys.argv) > 1:
         sys.exit(main(argv = grass.parser()))
     else:
+        Region = grass.region()
         main()