[MERGE] Sniff KnownFailure etc harder when reading subunit results.
Vincent Ladeuil
v.ladeuil+lp at free.fr
Wed Apr 8 14:43:59 BST 2009
>>>>> "jam" == John Arbash Meinel <john at arbash-meinel.com> writes:
jam> Robert Collins wrote:
>> This makes bzr selftest --parallel=ec2 handle KnownFailure etc.
>>
>> -Rob
>>
jam> Wouldn't it have been better written as:
jam> lines = str(exc).rstrip('\n').split('\n')
jam> if lines:
jam> if lines[-1].startswith(prefix):
jam> ...
jam> Anyway, as long as it works, I guess.
Yes, it's hackish anyway and there is a TODO about
serializing/deserializing the exceptions in a more controlled
way.
Vincent
More information about the bazaar
mailing list