[GRASS-SVN] r47280 - grass/trunk/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 27 11:51:25 EDT 2011
Author: mmetz
Date: 2011-07-27 08:51:25 -0700 (Wed, 27 Jul 2011)
New Revision: 47280
Modified:
grass/trunk/lib/python/db.py
Log:
respect **args
Modified: grass/trunk/lib/python/db.py
===================================================================
--- grass/trunk/lib/python/db.py 2011-07-27 15:25:33 UTC (rev 47279)
+++ grass/trunk/lib/python/db.py 2011-07-27 15:51:25 UTC (rev 47280)
@@ -98,13 +98,15 @@
flags = 'c',
table = table,
sql = sql,
- output = fname)
+ output = fname,
+ **args)
else: # -> sql is file
ret = run_command('db.select', quiet = True,
flags = 'c',
table = table,
input = sql,
- output = fname)
+ output = fname,
+ **args)
if ret != 0:
fatal(_("Fetching data from table <%s> failed") % table)
More information about the grass-commit
mailing list