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

Rob Crittenden rcritten at redhat.com
Mon Jan 24 15:50:19 UTC 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-688-tests.patch
Type: text/x-patch
Size: 4063 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110124/4dad05e7/attachment.bin>


More information about the Freeipa-devel mailing list