From e68fe10d5673f5974eca0069c256afa7f4d188c6 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Sun, 30 Mar 2014 14:52:47 +0200 Subject: [PATCH] =?UTF-8?q?veux=20scripts=20d=C3=A9pr=C3=A9ci=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/tools/liste_adh.py | 5 +++++ gestion/tools/locate-wifi.py | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gestion/tools/liste_adh.py b/gestion/tools/liste_adh.py index 1e87df2f..b8b5409b 100755 --- a/gestion/tools/liste_adh.py +++ b/gestion/tools/liste_adh.py @@ -2,6 +2,11 @@ # -*- coding: utf-8 -*- import sys + +# deprecated +print "Vieux script : veuillez utiliser le script qui se trouve dans le dépôt git du CA." +sys.exit(1) + sys.path.append('/usr/scripts/gestion') from ldap_crans import crans_ldap, decode db = crans_ldap() diff --git a/gestion/tools/locate-wifi.py b/gestion/tools/locate-wifi.py index f69a05c4..f53d7f82 100755 --- a/gestion/tools/locate-wifi.py +++ b/gestion/tools/locate-wifi.py @@ -2,6 +2,10 @@ # -*- coding: utf-8 -*- import sys + +print("Vieux script qui ne marche plus. À réécrire. Anyway ce script était moche") +sys.exit(1) + sys.path.append('/usr/scripts/gestion') from whos import borne_etat, borne_clients_canal from ldap_crans import crans_ldap