[GRASS-SVN] r47282 - grass/branches/releasebranch_6_4/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 27 11:52:30 EDT 2011


Author: mmetz
Date: 2011-07-27 08:52:30 -0700 (Wed, 27 Jul 2011)
New Revision: 47282

Modified:
   grass/branches/releasebranch_6_4/lib/python/db.py
Log:
respect **args

Modified: grass/branches/releasebranch_6_4/lib/python/db.py
===================================================================
--- grass/branches/releasebranch_6_4/lib/python/db.py	2011-07-27 15:52:17 UTC (rev 47281)
+++ grass/branches/releasebranch_6_4/lib/python/db.py	2011-07-27 15:52:30 UTC (rev 47282)
@@ -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