From c3f0940d54ab2c5dc5eac62e36d0b70f21a4a95b Mon Sep 17 00:00:00 2001 From: Pauline Pommeret Date: Mon, 16 Feb 2015 14:11:09 +0100 Subject: [PATCH] =?UTF-8?q?[ldap=5Fcrans]=20On=20retire=20un=20appel=20?= =?UTF-8?q?=C3=A0=20unicode()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 68840c83..f8a204d2 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -3069,7 +3069,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3) def __host_alias(self, champ, new): """ Vérification de la validité d'un nom de machine """ # Supression des accents - new = strip_accents(unicode(new, 'utf-8')) + new = strip_accents(decode(new)) l, new = preattr(new) new = new.lower()