[MERGE][Trivial] invalid version tuple attempt to raise AssertionError fails with TypeError
Martin Pool
mbp at canonical.com
Tue Sep 23 07:30:24 BST 2008
On Sun, Sep 21, 2008 at 4:19 AM, Aaron Bentley <aaron at aaronbentley.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Mark Hammond wrote:
>> This is fairly trivial, but bzrlib._format_version_tuple() raises an
>> unintended exception when passed an invalid version tuple (so I'm reusing
>> that function even though it has an underscore - sue me ;)
>
> Since you admit that you're using a private function in an extension,
> you should propose turning it into a public function.
I'm happy to rename it to be public if you want to.
--
Martin <http://launchpad.net/~mbp/>
More information about the bazaar
mailing list