Skip to content

Commit 9824b5e

Browse files
author
Richard Jones
committed
Faster, easier, less mess ;)
1 parent 334edcc commit 9824b5e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

roundup/roundupdb.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: roundupdb.py,v 1.48 2002-03-18 18:32:00 rochecompaan Exp $
18+
# $Id: roundupdb.py,v 1.49 2002-03-19 06:41:49 richard Exp $
1919

2020
__doc__ = """
2121
Extending hyperdb with types specific to issue-tracking.
@@ -402,8 +402,7 @@ def sendmessage(self, nodeid, msgid, change_note):
402402
content = cStringIO.StringIO('\n'.join(m))
403403
content_encoded = cStringIO.StringIO()
404404
quopri.encode(content, content_encoded, 0)
405-
content_encoded.seek(0)
406-
content_encoded = content_encoded.read()
405+
content_encoded = content_encoded.getvalue()
407406

408407
# get the files for this message
409408
message_files = messages.get(msgid, 'files')
@@ -605,6 +604,9 @@ def generateChangeNote(self, nodeid, oldvalues):
605604

606605
#
607606
# $Log: not supported by cvs2svn $
607+
# Revision 1.48 2002/03/18 18:32:00 rochecompaan
608+
# All messages sent to the nosy list are now encoded as quoted-printable.
609+
#
608610
# Revision 1.47 2002/02/27 03:16:02 richard
609611
# Fixed a couple of dodgy bits found by pychekcer.
610612
#

0 commit comments

Comments
 (0)