whos_lc peut désormais prêter sa fonction explore_db en RO.
This commit is contained in:
parent
1e769cc9a9
commit
5bb370bffb
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue