From 9b3e2f5cec773e06815fc85511f0c38410993edc Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Sun, 20 Jul 2008 18:10:08 +0000 Subject: 18: Moved base2 stuff into base --- ipalib/crud.py | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'ipalib/crud.py') diff --git a/ipalib/crud.py b/ipalib/crud.py index 2ae736f53..89f7001b2 100644 --- a/ipalib/crud.py +++ b/ipalib/crud.py @@ -23,26 +23,15 @@ Base classes for objects with CRUD functionality. import base -class add(base.Command): - pass -class find(base.Command): - pass +class Add(base.Command): + pass -class edit(base.Command): - pass +class Del(base.Command): + pass -class delete(base.Command): - pass +class Mod(base.Command): + pass - - - -class CrudLike(base.Object): - def get_commands(self): - return [ - add, - find, - edit, - delete, - ] +class Find(base.Command): + pass -- cgit