Removed the depreciated Context and LazyContext classes

This commit is contained in:
Jason Gerard DeRose
2009-01-23 15:53:45 -07:00
committed by Rob Crittenden
parent f7375bb609
commit 0cfb0e191a
5 changed files with 3 additions and 72 deletions

View File

@@ -871,7 +871,7 @@ freeIPA.org:
'''
import plugable
from backend import Backend, Context
from backend import Backend
from frontend import Command, LocalOrRemote, Application
from frontend import Object, Method, Property
from crud import Create, Retrieve, Update, Delete, Search
@@ -902,12 +902,9 @@ def create_api(mode='dummy'):
- `frontend.Application`
- `backend.Backend`
- `backend.Context`
"""
api = plugable.API(
Command, Object, Method, Property, Application,
Backend, Context,
Command, Object, Method, Property, Application, Backend
)
if mode is not None:
api.env.mode = mode