[Freeipa-devel] [PATCH] 689 make deepcopy of objectclasses

Rob Crittenden rcritten at redhat.com
Mon Jan 24 15:58:07 UTC 2011


Jakub Hrozek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 01/24/2011 04:50 PM, Rob Crittenden wrote:
>> In the host plugin we modify the default set of objectclasses depending
>> on what kind of host we're creating. This was actually updating the
>> objectclass of the object itself so that the objectclass variable was
>> storing duplicate objectclasses (because we sometimes append values).
>>
>> Make a deepcopy instead.
>>
>> I also re-ordered some values in the host plugin to match what the unit
>> tests expect. It was easier to change in one place than many and have
>> the same result :-)
>>
>> rob
>>
>
> I think you sent a wrong patch (688, should have been 689)

Ok, here goes.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-689-host.patch
Type: text/x-patch
Size: 2532 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110124/2d051e78/attachment.bin>


More information about the Freeipa-devel mailing list