products/CPSSubscriptions

changeset 1106:6f03aa92d1fa CPS-3.5

#2585: fixed breakage in case of blacklisted email
author Georges Racinet on ishtar <gracinet@anybox.fr>
date Tue, 13 May 2014 13:00:49 +0200
parents 893082b34cec
children 95e20423b376
files Subscription.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/Subscription.py
     1.2 +++ b/Subscription.py
     1.3 @@ -187,7 +187,8 @@
     1.4                  if email not in self.getRecipientEmailsBlackList():
     1.5                      emails[email] = v
     1.6                  else:
     1.7 -                    logger.debug("sendEvent: black list for %r", pt_recipient)
     1.8 +                    logger.debug("sendEvent at %r: discarded %r (blacklisted)",
     1.9 +                                 self, email)
    1.10  
    1.11          #
    1.12          # Notify the recipients