[GRASS-SVN] r65398 - grass/branches/releasebranch_7_0/scripts/db.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 7 04:30:08 PDT 2015


Author: martinl
Date: 2015-06-07 04:30:08 -0700 (Sun, 07 Jun 2015)
New Revision: 65398

Modified:
   grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.py
Log:
db.in.ogr: run db.tables in quiet mode (cosmetics)
           (merge r65397 from trunk)


Modified: grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.py
===================================================================
--- grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.py	2015-06-07 11:27:53 UTC (rev 65397)
+++ grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.py	2015-06-07 11:30:08 UTC (rev 65398)
@@ -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