-
-
/trunk/reviewboard/reviews/models.py (Diff revision 1) There are more places that are using __unicode__ that might need to be updated as well.
Small fix to some __unicode__ methods on reviews.models
Review Request #260 — Created Feb. 19, 2008 and submitted
Information | |
---|---|
leosoto | |
Review Board SVN (deprecated) | |
409 | |
Reviewers | |
reviewboard | |
Two __unicode__ methods did string interpolation using a str instance instead of a unicode instance. This ends up calling unicode(str(foo)) using the default encoding (ascii) for the interpolation arguments, raising UnicodeDecodeErrors on some cases.