From 42cdc5b4d6ae4524a450d71dd128129378040440 Mon Sep 17 00:00:00 2001 From: jlaine Date: Mon, 7 Sep 2009 06:01:17 +0000 Subject: [PATCH] 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 --- ldapdb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- 2.30.2