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

Pavel Zůna pzuna at redhat.com
Tue Sep 8 13:30:48 UTC 2009


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.)

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Fix-Object.params_minus_pk-was-invalid-when-there-w.patch
Type: application/mbox
Size: 857 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090908/b31bde62/attachment.mbox>


More information about the Freeipa-devel mailing list