Initial implementation of automount support

Add argument handling to crud.Del
Make get_list handle LDAP scope
This commit is contained in:
Rob Crittenden
2008-10-30 17:29:22 -04:00
parent 6879140db7
commit 62876ccee3
5 changed files with 532 additions and 2 deletions
+7
View File
@@ -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):