Project

General

Profile

« Previous | Next » 

Revision 2369

sql.py: ExceptionWithNameValue: Use repr() instead of strings.ustr() on the value

View differences:

lib/sql.py
42 42
class ExceptionWithNameValue(DbException):
43 43
    def __init__(self, name, value, cause=None):
44 44
        DbException.__init__(self,
45
            'for name: '+str(name)+'; value: '+strings.ustr(value), cause)
45
            'for name: '+str(name)+'; value: '+repr(value), cause)
46 46
        self.name = name
47 47
        self.value = value
48 48

  

Also available in: Unified diff