Project

General

Profile

« Previous | Next » 

Revision 2766

sql.py: put_table(): Assert that mapping is non-empty

View differences:

lib/sql.py
1136 1136
    @return sql_gen.Col Where the output pkeys are made available
1137 1137
    '''
1138 1138
    out_table = sql_gen.as_Table(out_table)
1139
    assert mapping != {}
1139 1140
    
1140 1141
    def log_debug(msg): db.log_debug(msg, level=1.5)
1141 1142
    def col_ustr(str_):

Also available in: Unified diff