From e42f0a675873dd8f315b166095d7d08dd712488e Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sat, 31 Jan 2009 14:17:27 +0100 Subject: [PATCH] Remove debug prints. --- tools/notify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/notify.py b/tools/notify.py index 50eb375..0c8f969 100644 --- a/tools/notify.py +++ b/tools/notify.py @@ -18,7 +18,7 @@ def notify(recipients, template, context = {}): else: # Assume it is an email address to[r] = None - print to + for (address, name) in to.items(): if name is None: name = (None, None) @@ -49,7 +49,7 @@ def notify(recipients, template, context = {}): # Don't put From and Subject in the dict, else they'll be # present twice. headers_dict[field] = value - print address, name + msg = EmailMessage( # Only setting the From address through headers won't set the # envelope address right. -- 2.30.2