From 255742e3d6b38c37fd77bb30b068da660965a5e8 Mon Sep 17 00:00:00 2001 From: Olivier Huber Date: Mon, 18 Jan 2010 23:44:30 +0100 Subject: [PATCH] Bugfixes darcs-hash:20100118224430-8fbb1-03f00435011d77c6a79dd04f7cf0e891fd46df7d.gz --- gestion/gest_crans.py | 2 +- gestion/ldap_crans.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index ff438e6e..eafe1d83 100644 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -31,7 +31,7 @@ from time import strftime, strptime, localtime, mktime import re import affich_tools, config -from affich_tools import cprint +from affich_tools import cprint, to_encoding from lock import make_lock, remove_lock from ldap_crans import crans_ldap, blacklist_items, ann_scol, droits_possibles, droits_critiques, smtpserv, script_utilisateur from ldap_crans import Adherent, AssociationCrans, Club diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index a13e938c..dd96265a 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -2858,7 +2858,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3) break if not len(pool_ip): - raise RuntimeError(u"Plus d'IP libres dans %s." % ' et '.join(net, ' et ')) + raise RuntimeError(u"Plus d'IP libres dans %s." % ' et '.join(net)) else: # L'ip est elle dans le bon sous-réseau ?