Project

General

Profile

« Previous | Next » 

Revision 2474

sql.py: put_table(): "Ignoring existing rows, comparing on" debug message: Wrap the mapping in strings.as_code() so it will have Redmine syntax-highlighting

View differences:

sql.py
966 966
            
967 967
            old_join_cols = join_cols.copy()
968 968
            join_cols.update(util.dict_subset(mapping, e.cols))
969
            log_debug('Ignoring existing rows, comparing on '+str(join_cols))
969
            log_debug('Ignoring existing rows, comparing on\n'
970
                +strings.as_code(repr(join_cols), 'Python'))
970 971
            assert join_cols != old_join_cols # avoid infinite loops
971 972
        except NullValueException, e:
972 973
            log_exc(e)

Also available in: Unified diff