[PATCH] Factor out duplicate code
Dan Loda
danloda at gmail.com
Wed Oct 12 05:43:24 BST 2005
On Wed, 2005-10-12 at 14:33 +1000, Andrew Bennetts wrote:
> Hmm, I guess reducing the duplication between the ifs and the
> versionable_kind staticmethod is something I overlooked the first time
> round, that's another argument for the dictionary.
>
This is exactly the reason I used a dictionary. The extensibility is a
(bonus?) side effect.
--
Dan Loda <danloda at gmail.com>
More information about the bazaar
mailing list