Project

General

Profile

« Previous | Next » 

Revision 2503

sql_gen.py: MockDb.esc_value(): Use new strings.repr_no_u()

View differences:

lib/sql_gen.py
15 15
##### SQL code objects
16 16

  
17 17
class MockDb:
18
    def esc_value(self, value): return repr(value)
18
    def esc_value(self, value): return strings.repr_no_u(value)
19 19
    
20 20
    def esc_name(self, name): return esc_name(name)
21 21
mockDb = MockDb()

Also available in: Unified diff