From: jlaine Date: Mon, 7 Sep 2009 06:01:17 +0000 (+0000) Subject: fix character encoding in call to delete_s X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fdjango-ldapdb.git;a=commitdiff_plain;h=42cdc5b4d6ae4524a450d71dd128129378040440 fix character encoding in call to delete_s git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@647 e071eeec-0327-468d-9b6a-08194a12b294 --- diff --git a/ldapdb/__init__.py b/ldapdb/__init__.py index c622eb3..60b6c86 100644 --- a/ldapdb/__init__.py +++ b/ldapdb/__init__.py @@ -49,7 +49,7 @@ class LdapConnection(object): return self.connection.add_s(dn.encode(self.charset), mods) def delete_s(self, dn): - return self.connection.delete_s(dn) + return self.connection.delete_s(dn.encode(self.charset)) def modify_s(self, dn, modlist): mods = []