Commit 84cfaac8 authored by Valentin Samir's avatar Valentin Samir

[printing] blacklist est le nom d'une methode, on utilise blacklist_len comme paramètre pour sprint

parent 63555140
......@@ -245,9 +245,9 @@ def blacklist(blacklist, params):
params['o']=blacklist
return template().get_template("blacklist").render(params)
def sprint(object, historique=5, blacklist=5, **params):
def sprint(object, historique=5, blacklist_len=5, **params):
from lc_ldap import objets, attributs
params.update({'historique':historique, "blacklist":blacklist})
params.update({'historique':historique, "blacklist":blacklist_len})
if isinstance(object, objets.machine):
return machine(object, params)
elif isinstance(object, objets.adherent):
......
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