409: __unicode__ methods should do (u"blah" % foo) instead of ("blah" % foo)
- Fixed
- Review Board
leo.****@gmai***** (Google Code) (Is this you? Claim this profile.) | |
Feb. 22, 2008 |
Two __unicode__ methods on reviews.models do string interpolation using a str instance instead of an unicode instance. This ends up calling unicode(str(foo)) using the default encoding (ascii) for the interpolation arguments, raising UnicodeDecodeErrors on some cases. Patch uploaded on http://reviews.review-board.org/r/260/