[Yum-devel] [PATCH] Deprecate has_key() in favour of "in" for metadata entries.

Ville Skyttä ville.skytta at iki.fi
Wed Oct 7 21:11:17 UTC 2009


On Friday 02 October 2009, Ville Skyttä wrote:
> Hello,
> 
> As someone mentioned Python 3 here and on fedora-devel... here's a small
>  patch that gets metadata entries' has_key() out of the way of further
>  has_key() related changes.
> 
> So when previously one would do "entry.has_key(foo)", after this one should
>  do "foo in entry" instead.

Any comments?


More information about the Yum-devel mailing list