[GRASS-SVN] r42160 - grass-addons/vector/v.in.postgis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 8 13:07:17 EDT 2010
Author: martinl
Date: 2010-05-08 13:07:16 -0400 (Sat, 08 May 2010)
New Revision: 42160
Modified:
grass-addons/vector/v.in.postgis/v.in.postgis.py
Log:
v.in.postgis: import grass.script
Modified: grass-addons/vector/v.in.postgis/v.in.postgis.py
===================================================================
--- grass-addons/vector/v.in.postgis/v.in.postgis.py 2010-05-08 17:05:57 UTC (rev 42159)
+++ grass-addons/vector/v.in.postgis/v.in.postgis.py 2010-05-08 17:07:16 UTC (rev 42160)
@@ -68,7 +68,8 @@
##see http://initd.org/pub/software/psycopg/
import psycopg2 as dbapi2
##see http://trac.osgeo.org/grass/browser/grass/trunk/lib/python
-from grass import core as grass
+import grass.script as grass
+
##only needed to use Komodo debugger with Komodo IDE. See http://aspn.activestate.com/ASPN/Downloads/Komodo/RemoteDebugging
#from dbgp.client import brk
##see http://pyunit.sourceforge.net/
More information about the grass-commit
mailing list