[PATCH 3 of 5] bundle2.bundlepart: allow setting mandatory explicitly
Mike Hommey
mh at glandium.org
Tue Dec 16 19:15:56 CST 2014
On Tue, Dec 16, 2014 at 05:08:12PM -0800, Pierre-Yves David wrote:
> >+ @mandatory.setter
> >+ def mandatory(self, value):
> >+ self._mandatory = bool(value)
>
> This property business seems unecesary and should be dropped.
> Also, I thin the .setter thing is not in python 2.4…
It's new to 2.6, so even after 2.4 support is dropped, it can't be used.
Mike
More information about the Mercurial-devel
mailing list