diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py
index 1a9f705e58871910e9e85087d1e320523cbde9de..998b29051912d85425cde44b47bf019abbf7ed12 100644 (file)
--- a/roundup/roundupdb.py
+++ b/roundup/roundupdb.py
charset = getattr(self.db.config, 'EMAIL_CHARSET', 'utf-8')
# construct the content and convert to unicode object
- content = unicode('\n'.join(m), 'utf-8').encode(charset)
+ body = unicode('\n'.join(m), 'utf-8').encode(charset)
# make sure the To line is always the same (for testing mostly)
sendto.sort()
# attach files
if message_files:
# first up the text as a part
- part = MIMEText(content)
+ part = MIMEText(body)
encode_quopri(part)
message.attach(part)
message.attach(part)
else:
- message.set_payload(content)
+ message.set_payload(body)
encode_quopri(message)
if first: