Project

General

Profile

« Previous | Next » 

Revision 3030

sql.py: update(): Pass any log_level to run_query()

View differences:

lib/sql.py
788 788
def update(db, *args, **kw_args):
789 789
    '''For params, see mk_update() and run_query()'''
790 790
    recover = kw_args.pop('recover', None)
791
    log_level = kw_args.pop('log_level', 2)
791 792
    
792
    return run_query(db, mk_update(db, *args, **kw_args), recover)
793
    return run_query(db, mk_update(db, *args, **kw_args), recover,
794
        log_level=log_level)
793 795

  
794 796
def last_insert_id(db):
795 797
    module = util.root_module(db.db)

Also available in: Unified diff