changeset 667:52ca0ae46044

Faster, easier, less mess ;)
author Richard Jones <richard@users.sourceforge.net>
date Tue, 19 Mar 2002 06:41:49 +0000
parents d1567c2433c4
children 4afa9be56dd3
files roundup/roundupdb.py
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/roundupdb.py	Tue Mar 19 06:37:00 2002 +0000
+++ b/roundup/roundupdb.py	Tue Mar 19 06:41:49 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: roundupdb.py,v 1.48 2002-03-18 18:32:00 rochecompaan Exp $
+# $Id: roundupdb.py,v 1.49 2002-03-19 06:41:49 richard Exp $
 
 __doc__ = """
 Extending hyperdb with types specific to issue-tracking.
@@ -402,8 +402,7 @@
         content = cStringIO.StringIO('\n'.join(m))
         content_encoded = cStringIO.StringIO()
         quopri.encode(content, content_encoded, 0)
-        content_encoded.seek(0)
-        content_encoded = content_encoded.read()
+        content_encoded = content_encoded.getvalue()
 
         # get the files for this message
         message_files = messages.get(msgid, 'files')
@@ -605,6 +604,9 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.48  2002/03/18 18:32:00  rochecompaan
+# All messages sent to the nosy list are now encoded as quoted-printable.
+#
 # Revision 1.47  2002/02/27 03:16:02  richard
 # Fixed a couple of dodgy bits found by pychekcer.
 #

Roundup Issue Tracker: http://roundup-tracker.org/