author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 14 Oct 2011 14:42:00 +0200 | |
branch | stable |
changeset 7960 | 981d2a6d95be |
parent 7959 | 32349eb5d89d |
child 7962 | 38ce8b8a980f |
child 7966 | 63bead921966 |
--- a/dbapi.py Fri Oct 14 14:41:44 2011 +0200 +++ b/dbapi.py Fri Oct 14 14:42:00 2011 +0200 @@ -313,7 +313,7 @@ except KeyError: # this occurs usually during test execution self._ = self.__ = unicode - self.pgettext = lambda x, y: y + self.pgettext = lambda x, y: unicode(y) self.debug('request default language: %s', self.lang) # entities cache management ###############################################