From f18c84444d4ed87d79f3cb41156c6b66f49ccac3 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 31 Oct 2008 17:02:51 -0400 Subject: Partially revert back change. Del shouldn't provide default options. It can provide custom ones though, if defined with takes_params() in the class. --- ipalib/crud.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'ipalib/crud.py') diff --git a/ipalib/crud.py b/ipalib/crud.py index 60c605dd..867f9fe1 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 -- cgit