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

@@ -25,24 +25,13 @@ This wraps the python-ldap bindings.
"""
import ldap as _ldap
from ipalib import api, Context
from ipalib import api
from ipalib import errors
from ipalib.crud import CrudBackend
from ipaserver import servercore
from ipaserver import ipaldap
class conn(Context):
"""
Thread-local LDAP connection.
"""
def get_value(self):
return 'it worked'
api.register(conn)
class ldap(CrudBackend):
"""
LDAP backend plugin.