[Freeipa-users] FreeIPA + Ipsilon
Petr Viktorin
pviktori at redhat.com
Tue Aug 5 18:33:12 UTC 2014
On 08/05/2014 07:48 PM, Simo Sorce wrote:
> On Tue, 2014-08-05 at 17:47 +0200, Luca Tartarini wrote:
[...]
>> with HTTP 500 Internal Server Error ("GET /idp HTTP/1.1" 500 619)
>>
>> The line is this one (in
>> /usr/lib/python2.6/site-packages/ipsilon/admin/login.py):
>>
>> plugins_by_name = {p.name: p for p in self._site[FACILITY]['enabled']}
>
> Uhmm python 2.6, I think it does not support dict comprehension.
> You can replace this line with:
> dict([p.name, p for p in self._site[FACILITY]['enabled']])
dict((p.name, p) for p in self._site[FACILITY]['enabled'])
(You need the parens around (p.name, p))
--
Petr³
More information about the Freeipa-users
mailing list