Project

General

Profile

« Previous | Next » 

Revision 2473

sql.py: put_table(): "Putting columns" debug message: Wrap the mapping in strings.as_code() so it will have Redmine syntax-highlighting

View differences:

sql.py
876 876
    
877 877
    def log_debug(msg): db.log_debug(msg, level=1.5)
878 878
    
879
    log_debug('Putting columns: '+str(mapping))
879
    log_debug('Putting columns:\n'+strings.as_code(repr(mapping), 'Python'))
880 880
    
881 881
    temp_prefix = out_table.name
882 882
    pkeys = sql_gen.Table(temp_prefix+'_pkeys')

Also available in: Unified diff