summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f0a9600)
raw | patch | inline | side by side (parent: f0a9600)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 10 Jan 2002 05:57:45 +0000 (05:57 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 10 Jan 2002 05:57:45 +0000 (05:57 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@521 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/roundupdb.py | patch | blob | history |
diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py
index 3478bd54dcb9403a235ec9ac41ecf7b257fb0f98..7f1dfe8d49a3ad22de4645c3d03c6c267f5db6c8 100644 (file)
--- a/roundup/roundupdb.py
+++ b/roundup/roundupdb.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundupdb.py,v 1.37 2002-01-08 04:12:05 richard Exp $
+# $Id: roundupdb.py,v 1.38 2002-01-10 05:57:45 richard Exp $
__doc__ = """
Extending hyperdb with types specific to issue-tracking.
m.append(self.email_signature(nodeid, msgid))
# get the files for this message
- files = messages.get(msgid, 'files')
+ message_files = messages.get(msgid, 'files')
# create the message
message = cStringIO.StringIO()
writer.addheader('In-Reply-To', inreplyto)
# attach files
- if files:
+ if message_files:
part = writer.startmultipartbody('mixed')
part = writer.nextpart()
body = part.startbody('text/plain')
body.write('\n'.join(m))
- for fileid in files:
+ for fileid in message_files:
name = files.get(fileid, 'name')
mime_type = files.get(fileid, 'type')
content = files.get(fileid, 'content')
#
# $Log: not supported by cvs2svn $
+# Revision 1.37 2002/01/08 04:12:05 richard
+# Changed message-id format to "<%s.%s.%s%s@%s>" so it complies with RFC822
+#
# Revision 1.36 2002/01/02 02:31:38 richard
# Sorry for the huge checkin message - I was only intending to implement #496356
# but I found a number of places where things had been broken by transactions: