python 2.4 compatibility fix
[matthijs/upstream/django-ldapdb.git] / 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)