-
Committer:
Adeodato Simó
-
Date:
2007-07-06 17:21:57 UTC
-
mto:
(2593.2.1 ianc-integration)
-
mto:
This revision was merged to the branch mainline in
revision
2594.
-
Revision ID:
dato@net.com.org.es-20070706172157-11w04axiv4mtrabm
Improve annotate to prevent unicode exceptions in certain situations.
The fixed bugs are:
* when an annotation has the author part as unicode(), and line
contents are 8-bit data, an UnicodeDecodeError is raised when
formatting them together with '%s %s'
* when the author part of an annotation contains characters not
representable in the encoding of the user that runs annotate,
an UnicodeEncodeError is raised