diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index fe80db34..09fc4701 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -3804,7 +3804,15 @@ class _FakeProprio(CransLdap): self.dn = self.base_dn def id(self): return '' - def blacklist(self): + def blacklist(self, new=None): + if new is not None: + print >>sys.stderr, u"Tentative d'ajout de blacklist à un propriétaire virtuel :" + try: + print >>sys.stderr, u"Nom : %s" % self.Nom() + except AttributeError: + print >>sys.stderr, u"Impossible de récupérer le nom..." + print >>sys.stderr, u"Blacklist :" + print >>sys.stderr, blacklist return [] def paiement(self): return [ ann_scol ]