[GRASS-SVN] r47281 - grass/branches/develbranch_6/lib/python

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


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

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

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