[MERGE] Fix encoding of Already Versioned error
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Apr 4 12:54:34 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote:
> Martin Pool has voted +1 (conditional).
> Status is now: Conditionally approved
> Comment:
> hm, i would have thought exceptions should keep their message in unicode
> until they're printed out. but if that's how it is, ok.
The other parameters to a BzrError are permitted to be unicode strings,
but the msg is required to be a bytestring.
I think BzrError ought to provide __unicode__ rather than __str__, but
it doesn't at present.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGE5H50F+nu1YWqI0RAuEkAJ0Ryn043OI6bQfrndEOdy2x55y9gACdFGd/
vhVjlCo8w41TMmvPIndtnhE=
=WyDl
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list