[Yum-devel] yumBase using properties
Jeremy Katz
katzj at redhat.com
Wed Feb 21 17:44:18 UTC 2007
On Wed, 2007-02-21 at 12:28 -0500, James Bowes wrote:
> Can self._ts be left off of YumBase entirely, and have the property live
> on the depsolver?
Seems to make some sense
> It might be best to have the logic to see if the field is already
> populated live outside of the do* methods, so that their behaviour is
> not changed.
We almost certainly want to do this.
> Can the new do* methods all be _do*?
Or maybe _get? :)
> Lastly, how about marking the existing do* methods as deprecated? :)
Well, they have to exist in some form or another -- direct calls of them
probably won't be needed in The Future (tm), but the _getter will still
need to call them.
> I love this though. It will make a lot of the code look so much nicer.
Agreed
Jeremy
More information about the Yum-devel
mailing list