瀏覽代碼

respect **args

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47280 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 年之前
父節點
當前提交
e050be1b1f
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      lib/python/db.py

+ 4 - 2
lib/python/db.py

@@ -98,13 +98,15 @@ def db_select(table, sql, file = False, **args):
                           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)