summaryrefslogtreecommitdiffstats
path: root/ipalib/crud.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-10-31 17:02:51 -0400
committerRob Crittenden <rcritten@redhat.com>2008-11-03 13:14:46 -0500
commitf18c84444d4ed87d79f3cb41156c6b66f49ccac3 (patch)
treed183eefff5a03097124aaeb33ebf31c76d251626 /ipalib/crud.py
parenta9e8bda0cf2cc76593d7eb89138607aa2cc5bb61 (diff)
downloadfreeipa-f18c84444d4ed87d79f3cb41156c6b66f49ccac3.tar.gz
freeipa-f18c84444d4ed87d79f3cb41156c6b66f49ccac3.tar.xz
freeipa-f18c84444d4ed87d79f3cb41156c6b66f49ccac3.zip
Partially revert back change. Del shouldn't provide default options.
It can provide custom ones though, if defined with takes_params() in the class.
Diffstat (limited to 'ipalib/crud.py')
-rw-r--r--ipalib/crud.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipalib/crud.py b/ipalib/crud.py
index 60c605dd9..867f9fe1f 100644
--- a/ipalib/crud.py
+++ b/ipalib/crud.py
@@ -47,8 +47,6 @@ class Del(frontend.Method):
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