From b70dd2577df8bb81f6a1d4df13749d6b587bbcac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Mon, 14 Jul 2014 03:54:06 +0200 Subject: [PATCH] =?UTF-8?q?[trigger/service/dhcp]=20R=C3=A9indentation=20d?= =?UTF-8?q?u=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/trigger/services/dhcp.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gestion/trigger/services/dhcp.py b/gestion/trigger/services/dhcp.py index cd832cb7..93278084 100644 --- a/gestion/trigger/services/dhcp.py +++ b/gestion/trigger/services/dhcp.py @@ -87,12 +87,12 @@ class Dhcp(BasicService): elif body == True: hosts = {} host_template = """ - host %(nom)s { - hardware ethernet %(mac)s; - fixed-address %(ip)s; - option host-name "%(host)s"; - } - """ + host %(nom)s { + hardware ethernet %(mac)s; + fixed-address %(ip)s; + option host-name "%(host)s"; + } +""" affichage.prettyDoin("Chargement des machines", "...") machines = cls.ldap_conn.allMachines() affichage.prettyDoin("Chargement des machines", "Ok")