From: jlaine Date: Tue, 30 Jun 2009 10:30:31 +0000 (+0000) Subject: python 2.4 compatibility fix X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=63c2a1d0111f74e981c1e42251197602b1c9d7cb;p=matthijs%2Fupstream%2Fdjango-ldapdb.git python 2.4 compatibility fix git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@444 e071eeec-0327-468d-9b6a-08194a12b294 --- diff --git a/ldapdb/__init__.py b/ldapdb/__init__.py index 2878d66..4cde6c0 100644 --- a/ldapdb/__init__.py +++ b/ldapdb/__init__.py @@ -32,7 +32,7 @@ def convert(field, value, func): else: return func(value) -class LdapConnection(): +class LdapConnection(object): def __init__(self, server, bind_dn, bind_password): self.connection = ldap.initialize(server) self.connection.simple_bind_s(bind_dn, bind_password)