diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-09-25 23:53:53 -0400 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-30 19:37:35 -0600 |
commit | b965e558b5def14c6416beb36dc790cca96c3724 (patch) | |
tree | 6f1c0097f46b19f7a8fd2b76763d783c36813fd1 /ipalib/crud.py | |
parent | afdc72103847fc27efd00f8cc97a7320909ff6a0 (diff) | |
download | freeipa-b965e558b5def14c6416beb36dc790cca96c3724.tar.gz freeipa-b965e558b5def14c6416beb36dc790cca96c3724.tar.xz freeipa-b965e558b5def14c6416beb36dc790cca96c3724.zip |
Rebase XML-RPC client and server
Fix error handling in server to return exceptions generated in library code
Diffstat (limited to 'ipalib/crud.py')
-rw-r--r-- | ipalib/crud.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ipalib/crud.py b/ipalib/crud.py index 5021d06da..813e0c814 100644 --- a/ipalib/crud.py +++ b/ipalib/crud.py @@ -25,8 +25,12 @@ import frontend, errors class Add(frontend.Method): + def get_args(self): + yield self.obj.primary_key + def get_options(self): - return self.obj.params() + for param in self.obj.params_minus_pk(): + yield param.__clone__(required=False) class Get(frontend.Method): |