diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-07-20 18:10:08 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-07-20 18:10:08 +0000 |
commit | 9b3e2f5cec773e06815fc85511f0c38410993edc (patch) | |
tree | 758c0b7526ba0112ae5a47e2b62f4606902a2881 /ipalib/crud.py | |
parent | 66cd39f51991abbff1c5a8c08fa8c9b1f358284a (diff) | |
download | freeipa-9b3e2f5cec773e06815fc85511f0c38410993edc.tar.gz freeipa-9b3e2f5cec773e06815fc85511f0c38410993edc.tar.xz freeipa-9b3e2f5cec773e06815fc85511f0c38410993edc.zip |
18: Moved base2 stuff into base
Diffstat (limited to 'ipalib/crud.py')
-rw-r--r-- | ipalib/crud.py | 27 |
1 files changed, 8 insertions, 19 deletions
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 |