From a527a6f394a668859a5afb05125cf803e12645ae Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Tue, 6 Oct 2015 00:46:12 +0200 Subject: [PATCH] =?UTF-8?q?Ne=20plante=20pas=20sur=20le=20nom=20du=20subne?= =?UTF-8?q?t=20(reste=20de=20la=20r=C3=A9=C3=A9criture=20de=20la=20fonctio?= =?UTF-8?q?n=20ip)?= 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 e6c2baae..c306a9f6 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -3343,7 +3343,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3) # Si après tout ca, on a encore auto, c'est qu'il n'y a plus d'ip if ip == '': - raise RuntimeError(u"Plus d'IP (rid) libres dans %s." % ' et '.join(net)) + raise RuntimeError(u"Plus d'IP (rid) libres dans %s." % mach_type) # Sinon, ip fournie, contrôle qu'elle est compatible avec le type machine # et calcule le rid qui va bien avec