[MERGE] Sniff KnownFailure etc harder when reading subunit results.

John Arbash Meinel john at arbash-meinel.com
Wed Apr 8 14:19:33 BST 2009


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

Robert Collins wrote:
> This makes bzr selftest --parallel=ec2 handle KnownFailure etc.
> 
> -Rob
> 

Wouldn't it have been better written as:

lines = str(exc).rstrip('\n').split('\n')
if lines:
  if lines[-1].startswith(prefix):
...

Anyway, as long as it works, I guess.

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

iEYEARECAAYFAkncpGUACgkQJdeBCYSNAAOQpQCfRA06n3pZsWyLBLgPeRwm1G3H
q7YAn3BMKrJCBY1xs+nma8kJNsminAYk
=rdQj
-----END PGP SIGNATURE-----



More information about the bazaar mailing list