[Yum-devel] [PATCH] Deprecate has_key() in favour of "in" for metadata entries.
Ville Skyttä
ville.skytta at iki.fi
Thu Oct 1 21:41:24 UTC 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Deprecate-has_key-in-favour-of-in-for-metadata-e.patch
Type: text/x-patch
Size: 1119 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20091002/339edbff/attachment.bin>
More information about the Yum-devel
mailing list