From 6f37d139cb605ff569877999196550eb49156ed3 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Tue, 25 Aug 2009 14:10:25 +0200 Subject: Remove obsolete CRUD base classes as they aren't used anymore. --- ipalib/crud.py | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) diff --git a/ipalib/crud.py b/ipalib/crud.py index 8b24d1f8..57a2c782 100644 --- a/ipalib/crud.py +++ b/ipalib/crud.py @@ -22,54 +22,6 @@ Base classes for standard CRUD operations. import backend, frontend, parameters -class Add(frontend.Method): - def get_args(self): - yield self.obj.primary_key - for arg in self.takes_args: - yield arg - - def get_options(self): - for param in self.obj.params_minus_pk(): - yield param - for option in self.takes_options: - yield option - - -class Get(frontend.Method): - def get_args(self): - yield self.obj.primary_key - - -class Del(frontend.Method): - def get_args(self): - yield self.obj.primary_key - - def get_options(self): - for option in self.takes_options: - yield option - - -class Mod(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.clone(required=False, query=True) - for option in self.takes_options: - yield option - - -class Find(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.clone(required=False, query=True) - for option in self.takes_options: - yield option - class Create(frontend.Method): """ -- cgit