[Freeipa-devel] [PATCH] Fix: Object.params_minus_pk was invalid when there was no primary_key.

Rob Crittenden rcritten at redhat.com
Wed Sep 9 13:56:50 UTC 2009


Pavel Zůna wrote:
> params_minus_pk was set to None when there was no primary_key=True 
> parameter.
> 
> This patch changes this, so that params_minus_pk is set to a reference 
> to params. It makes special cases easier to handle and I think it makes 
> sense that:
> 
> C - 0 = C
> 
> Anyway I did it, because there were some blow ups when testing plugins 
> and this fixed it without having to do checks everywhere. (And it 
> doesn't hurt anything as far as I checked.)
> 

ack, pushed to master

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090909/a6ecd15b/attachment.bin>


More information about the Freeipa-devel mailing list