Commit a5797b15 authored by Daniel STAN's avatar Daniel STAN

deconnexion.py: 2~3 inutiles

parent 73851113
......@@ -2,11 +2,8 @@
# -*- coding: utf-8 -*-
"""
Script de déconnection automatique des machines du crans pour les raisons :
Script de déconnexion automatique des machines du crans pour les raisons :
- upload
- p2p (plus maintenant)
- flood
- virus
Copyright (C) Xavier Pessoles, Étienne Chové, Vincent Bernat, Nicolas Salles
Licence : GPL v2
......@@ -16,23 +13,20 @@ Licence : GPL v2
# Import des commandes #
################################################################################
import commands
import sys
import psycopg2
import smtplib
from time import *
from gestion.config import upload, virus, NETs, plage_ens, prefix
from gestion.config import NETs, plage_ens, prefix
from gestion.config import upload as config_upload
import gestion.config.mails.upload as mails_upload
from gestion import ipt
from gestion.ldap_crans import crans_ldap
from gestion.ldap_crans import MachineWifi
from gestion.ldap_crans import MachineFixe
from surveillance.fiche_deconnexion.generate import generate_ps
from gestion.affich_tools import tableau
import surveillance.analyse2 as analyse
import gestion.mail as mail_module
# ldap
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment