[Freeipa-devel] [PATCH] 54 Fix attempted write to attribute of read-only object

Rob Crittenden rcritten at redhat.com
Thu Oct 13 15:36:05 UTC 2011


Jan Cholasta wrote:
> Also fixes a few issues in the unit tests. All of them now run
> successfully.
>
> https://fedorahosted.org/freeipa/ticket/1959
>
> Honza

I think it would be better to use:

object.__setattr__(self, 'ca_host', self._select_ca())

This will cache the value of a known CA host.

rob




More information about the Freeipa-devel mailing list