[MERGE] fixes for TestCase.run_bzr* methods

John Arbash Meinel john at arbash-meinel.com
Tue Sep 25 02:58:37 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
> Martin Pool has voted tweak.
> Status is now: Conditionally approved
> Comment:
> 

The fix I've seen elsewhere was:


if isinstance(args, unicode):
  args = [a.decode('utf8') for a in shlex.split(args.encode('utf8'))]


Just a thought.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG+GtMJdeBCYSNAAMRAs36AJ98Yw7xd9LEGYO2bpX0HNScSSBLDgCghIjE
+B+iS/K35I5l7+1BlAmZHpo=
=Uwir
-----END PGP SIGNATURE-----



More information about the bazaar mailing list