From 5bb370bffb83201f1a4cb7cd53e5db7a395cc0d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Sun, 20 Sep 2015 13:10:53 +0200 Subject: [PATCH] =?UTF-8?q?whos=5Flc=20peut=20d=C3=A9sormais=20pr=C3=AAter?= =?UTF-8?q?=20sa=20fonction=20explore=5Fdb=20en=20RO.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/whos_lc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gestion/whos_lc.py b/gestion/whos_lc.py index dd8c62f1..ae25f8ac 100755 --- a/gestion/whos_lc.py +++ b/gestion/whos_lc.py @@ -53,8 +53,6 @@ def explore_db(args, ldap): """Utilise le contenu de args pour décider comment explorer la base de données.""" data = search_ldap(args, ldap) data = macro_expand(data, args) - data = limits(data, args) - return data def search_ldap(args, ldap): @@ -237,4 +235,6 @@ if __name__ == "__main__": else: LDAP = lc_ldap.shortcuts.lc_ldap_readonly() - print_data(explore_db(args, LDAP), args) + DATA = explore_db(args, LDAP) + DATA = limits(DATA, args) + print_data(DATA, args)