From: Matthijs Kooijman Date: Sat, 31 Jan 2009 13:17:27 +0000 (+0100) Subject: Remove debug prints. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=e42f0a675873dd8f315b166095d7d08dd712488e;p=matthijs%2Fprojects%2Fxerxes.git Remove debug prints. --- 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.