[Yum-devel] [PATCH] Deprecate returnSimple and tagByName

seth vidal skvidal at linux.duke.edu
Thu Nov 16 05:18:33 UTC 2006


On Wed, 2006-11-15 at 22:46 -0500, Jeremy Katz wrote:
> On Wed, 2006-11-15 at 22:03 -0500, James Bowes wrote:
> > Attached is a patch that deprecates the returnSimple and tagByName 
> > methods on package objects, replacing then with __getattr__, or just 
> > setting the field, depending on the object.
> 
> While this works, what are you trying to accomplish? :) 
> 
> Also, at this point, I'm not sure if we can/should be deprecating
> methods in 3.0.x.

The patch looks fine - but I agree - let's leave the deprecation warning
out. 

James: Add the deprecation warning to HEAD and leave 3.0.X with just the
change.

-sv





More information about the Yum-devel mailing list