[Freeipa-devel] [PATCH 0308] Server Upgrade: fix traceback caused by cidict
Petr Viktorin
pviktori at redhat.com
Thu Sep 3 11:42:06 UTC 2015
On 09/03/2015 01:01 PM, Martin Basti wrote:
> https://fedorahosted.org/freeipa/ticket/5283
>
> Patch attached.
ACK.
This was caused by commit 3bf91ea, specifically the rushed reaction to
Christian's comment:
> Please use sorted(reference) instead of sorted(reference.keys()),
> set(tree) instead of set(tree.keys()) and list(somedict) instead of
> list(somedict.keys()), too. The keys() call is unnecessary and frowned upon.
Turns out python-ldap's cidict is not a propper Mapping, so the keys()
call *is* necessary.
Sorry for missing that.
--
Petr Viktorin
More information about the Freeipa-devel
mailing list