[GRASS-SVN] r65397 - grass/trunk/scripts/db.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 7 04:27:53 PDT 2015
Author: martinl
Date: 2015-06-07 04:27:53 -0700 (Sun, 07 Jun 2015)
New Revision: 65397
Modified:
grass/trunk/scripts/db.in.ogr/db.in.ogr.py
Log:
db.in.ogr: run db.tables in quiet mode
Modified: grass/trunk/scripts/db.in.ogr/db.in.ogr.py
===================================================================
--- grass/trunk/scripts/db.in.ogr/db.in.ogr.py 2015-06-07 11:24:11 UTC (rev 65396)
+++ grass/trunk/scripts/db.in.ogr/db.in.ogr.py 2015-06-07 11:27:53 UTC (rev 65397)
@@ -71,7 +71,7 @@
output = grass.basename(tmpname)
if not grass.overwrite():
- s = grass.read_command('db.tables', flags = 'p')
+ s = grass.read_command('db.tables', flags = 'p', quiet=True)
for l in s.splitlines():
if l == output:
grass.fatal(_("Table <%s> already exists") % output)
More information about the grass-commit
mailing list