[GRASS-SVN] r58545 - grass/trunk/scripts/db.test
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 29 07:43:44 PST 2013
Author: neteler
Date: 2013-12-29 07:43:44 -0800 (Sun, 29 Dec 2013)
New Revision: 58545
Modified:
grass/trunk/scripts/db.test/db.test.py
Log:
db.test: fix db.select call
Modified: grass/trunk/scripts/db.test/db.test.py
===================================================================
--- grass/trunk/scripts/db.test/db.test.py 2013-12-29 11:42:30 UTC (rev 58544)
+++ grass/trunk/scripts/db.test/db.test.py 2013-12-29 15:43:44 UTC (rev 58545)
@@ -54,7 +54,7 @@
r = grass.write_command('db.execute', input = '-', stdin = sql + '\n')
else:
resf = file(result, 'w')
- r = grass.write_command('db.select', flags = 'c', stdin = sql + '\n', stdout = resf)
+ r = grass.write_command('db.select', input = '-', flags = 'c', stdin = sql + '\n', stdout = resf)
resf.close()
if r != 0:
More information about the grass-commit
mailing list