projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bb81ee
)
Remove debug prints.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Sat, 31 Jan 2009 13:17:27 +0000
(14:17 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Sat, 31 Jan 2009 13:17:27 +0000
(14:17 +0100)
tools/notify.py
patch
|
blob
|
history
diff --git
a/tools/notify.py
b/tools/notify.py
index 50eb375e2dd3b4268c8df43751334e5f594714ac..0c8f96909f283c5ee409a0ff5583ee474de19447 100644
(file)
--- 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.