python 2.4 compatibility fix
authorjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Tue, 30 Jun 2009 10:30:31 +0000 (10:30 +0000)
committerjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Tue, 30 Jun 2009 10:30:31 +0000 (10:30 +0000)
git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@444 e071eeec-0327-468d-9b6a-08194a12b294

ldapdb/__init__.py

index 2878d66e3fc48a5aaacb3c26b1d7eb9a7ac75598..4cde6c08931d08e9c1754b4baaeca1c231ffb8aa 100644 (file)
@@ -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)