From 63c2a1d0111f74e981c1e42251197602b1c9d7cb Mon Sep 17 00:00:00 2001 From: jlaine Date: Tue, 30 Jun 2009 10:30:31 +0000 Subject: [PATCH] python 2.4 compatibility fix git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@444 e071eeec-0327-468d-9b6a-08194a12b294 --- ldapdb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2