[GRASS-SVN] r65947 - grass/trunk/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 17 04:47:30 PDT 2015
Author: zarch
Date: 2015-08-17 04:47:30 -0700 (Mon, 17 Aug 2015)
New Revision: 65947
Modified:
grass/trunk/lib/python/script/db.py
Log:
script.db: Fix absolute import inside function
Modified: grass/trunk/lib/python/script/db.py
===================================================================
--- grass/trunk/lib/python/script/db.py 2015-08-17 08:29:14 UTC (rev 65946)
+++ grass/trunk/lib/python/script/db.py 2015-08-17 11:47:30 UTC (rev 65947)
@@ -181,7 +181,7 @@
:param str table: name of table to query
"""
- from vector import vector_db
+ from .vector import vector_db
nuldev = file(os.devnull, 'w')
used = []
vects = list_strings('vect')
More information about the grass-commit
mailing list