[MERGE] fix formatting of ImmortalPendingDeletion error message.

Alexander Belchenko bialix at ukr.net
Tue Nov 13 21:03:39 GMT 2007


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

Robert Collins пишет:
> On Tue, 2007-11-13 at 13:05 +0200, Alexander Belchenko wrote:
>> Today I ran 'bzr up' in bound branch and got unprintable exception error:
>> ..
> 
>> So I'm writing test and fix for this case.
> 
> bb:resubmit
> 
> Your patch's new helper function is interesting, but it seems a lot
> harder than just using the current pattern for testing formatting of
> errors:
>  - e = SomeError(params)
>  - self.assertEqual(expected_string, str(e))
> 
> So I'd prefer you just did that.

You're right.
Here simpler version of my patch.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHOhErzYr338mxwCURAk/qAJ0QqfqmNVQyYFTJGfLLFmagg4HxaACglwCK
5/LKE+YHYLi4LJJTHW2HFaU=
=3Dbt
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unprintable.exception.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20071113/249e3225/attachment.diff 


More information about the bazaar mailing list