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

Attachment: 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

Reply via email to