From ac2ccf50c56e3c21cab1586cf2d27d4b31257f24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl-David=20Lasseri?= Date: Sun, 2 Feb 2014 21:41:48 +0100 Subject: [PATCH] [forward.py] Modifications mineure --- gestion/forward.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gestion/forward.py b/gestion/forward.py index 6f22b157..fb7376d1 100755 --- a/gestion/forward.py +++ b/gestion/forward.py @@ -59,12 +59,12 @@ if __name__ == '__main__': print 'Membre actif !' exit() else: - print ok print lc_ldap.printing.sprint_list(result) print "%s résultats" % len(result) + exit() else: - sys.stderr.write("Usage: %s {filtre}" % sys.argv[0]) - + sys.stderr.write("Utiliser les filtres ldap: uid=, chbre= etc..") + exit() r = affich_tools.prompt(u'Confirmer sélection ? [O/N]') if r == 'O' or r == 'o':