diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-10-30 17:25:45 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-10-30 17:29:22 -0400 |
commit | 62876ccee3ba679adda926b88564732552459619 (patch) | |
tree | 0519e10c36e9c516ecdcb11c95e478c0b503122d /ipalib/crud.py | |
parent | 6879140db790a23a8782f7200400f2b58a69f6a0 (diff) | |
download | freeipa-62876ccee3ba679adda926b88564732552459619.tar.gz freeipa-62876ccee3ba679adda926b88564732552459619.tar.xz freeipa-62876ccee3ba679adda926b88564732552459619.zip |
Initial implementation of automount support
Add argument handling to crud.Del
Make get_list handle LDAP scope
Diffstat (limited to 'ipalib/crud.py')
-rw-r--r-- | ipalib/crud.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ipalib/crud.py b/ipalib/crud.py index 6194b3fa7..60c605dd9 100644 --- a/ipalib/crud.py +++ b/ipalib/crud.py @@ -46,6 +46,11 @@ class Del(frontend.Method): def get_args(self): yield self.obj.primary_key + def get_options(self): + for param in self.obj.params_minus_pk(): + yield param + for option in self.takes_options: + yield option class Mod(frontend.Method): def get_args(self): @@ -54,6 +59,8 @@ class Mod(frontend.Method): def get_options(self): for param in self.obj.params_minus_pk(): yield param.__clone__(required=False) + for option in self.takes_options: + yield option class Find(frontend.Method): |