Project

General

Profile

« Previous | Next » 

Revision 2326

sql.py: put_table(): log_ignore(): Fixed bug where in_col needed to be passed through str() because it's a column object

View differences:

lib/sql.py
761 761
    def log_exc(e):
762 762
        db.log_debug('Caught exception: '+exc.str_(e, first_line_only=True))
763 763
    def log_ignore(in_col, value):
764
        db.log_debug('Ignoring rows with '+in_col+' = '+value)
764
        db.log_debug('Ignoring rows with '+str(in_col)+' = '+value)
765 765
    
766 766
    # Do inserts and selects
767 767
    join_cols = {}

Also available in: Unified diff