[dhcpd_new] Retrait d'une dépendance inutile à ldap_crans

This commit is contained in:
Valentin Samir 2013-11-05 13:27:54 +01:00
parent a51d14f518
commit 361fa95b9d

View file

@ -9,13 +9,15 @@ Licence : GPLv2
import os import os
from iptools import AddrInNet from iptools import AddrInNet
from gen_confs import gen_config from gen_confs import gen_config
from ldap_crans import hostname from socket import gethostname
from config import NETs from config import NETs
from pypureomapi import pack_ip, pack_mac, OMAPI_OP_UPDATE from pypureomapi import pack_ip, pack_mac, OMAPI_OP_UPDATE
from pypureomapi import Omapi, OmapiMessage, OmapiError, OmapiErrorNotFound from pypureomapi import Omapi, OmapiMessage, OmapiError, OmapiErrorNotFound
import struct import struct
hostname = gethostname().split(".")[0]
class dydhcp: class dydhcp:
def __init__(self, server): def __init__(self, server):
import sys import sys