X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fdjango-ldapdb.git;a=blobdiff_plain;f=ldapdb%2F__init__.py;h=3ca9c632a5afd5dadd8b17523db2d6f47e450f36;hp=767e6a9fc3030a7dfe6363e7f337e39f2054a8f5;hb=c04580563f978929bc4f06dfa85ea7a26248d688;hpb=1fb23bec834636d0427e7ac6db92639c133ef1d2 diff --git a/ldapdb/__init__.py b/ldapdb/__init__.py index 767e6a9..3ca9c63 100644 --- a/ldapdb/__init__.py +++ b/ldapdb/__init__.py @@ -89,8 +89,6 @@ class LdapConnection(object): results = cursor.connection.search_s(base, scope, filterstr.encode(self.charset), attrlist) output = [] for dn, attrs in results: - for field in attrs: - attrs[field] = convert(field, attrs[field], lambda x: x.decode(self.charset)) output.append((dn.decode(self.charset), attrs)) return output