Project

General

Profile

« Previous | Next » 

Revision 2465

sql.py: DbConn.run_query(): Don't put generated query debug message all on one line, so that embedded newlines are preserved

View differences:

sql.py
300 300
                if used_cache: cache_status = 'Cache hit'
301 301
                elif cacheable: cache_status = 'Cache miss'
302 302
                else: cache_status = 'Non-cacheable'
303
                debug_msg_ref[0] = cache_status+': '+strings.one_line(
304
                    str(get_cur_query(cur, query, params)))
303
                debug_msg_ref[0] = cache_status+': '+str(get_cur_query(cur,
304
                    query, params)).rstrip()
305 305
        
306 306
        return cur
307 307
    

Also available in: Unified diff