Commit 5bb370bf authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

whos_lc peut désormais prêter sa fonction explore_db en RO.

parent 1e769cc9
......@@ -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)
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