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

2009-09-09 Thread Rob Crittenden

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



smime.p7s
Description: S/MIME Cryptographic Signature
___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

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

2009-09-08 Thread Pavel Zůna
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


0006-Fix-Object.params_minus_pk-was-invalid-when-there-w.patch
Description: application/mbox
___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel