From eb8ceff23f803d33a89a848f2ec28fe6cb9bafc2 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Wed, 19 Dec 2007 17:13:09 +0100 Subject: [PATCH] Il faut un chane unicode l darcs-hash:20071219161309-61eff-fb1a433f93ae9d574f24f6bf2e0d48a920488e48.gz --- gestion/ldap_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index e22d8cb8..4cfd4780 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1206,7 +1206,7 @@ class BaseClasseCrans(CransLdap): self.conn.modify_s(self.dn, modlist) except ldap.TYPE_OR_VALUE_EXISTS, c: champ = c.args[0]['info'].split(':')[0] - raise RuntimeError('Entrée en double dans le champ %s' % champ.encode("iso-8859-1")) + raise RuntimeError(u'Entrée en double dans le champ %s' % champ) ### Génération de la liste de services à redémarrer # Quasiement tout est traité dans les classes filles.