summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e153003)
raw | patch | inline | side by side (parent: e153003)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 21 Oct 2001 03:35:30 +0000 (03:35 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 21 Oct 2001 03:35:30 +0000 (03:35 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@320 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/mailgw.py | patch | blob | history | |
test/test_mailsplit.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index aad2c99c70b34cb53208c45d4676bd37b00c4148..3dc98a97268383df849de09878a06c71b6207f65 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
as numbers now.
. bug #473126: Sender unknown
. bug #473130: Nosy list not set correctly
+ . bug #473125: Paragraph in e-mails
2001-10-11 - 0.3.0 pre 2
Fixed:
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index c01235cc48bfbdd0d3d3f970fdd34fbd1df87a83..b20d1a8d12d341496643d649637c6cab810897af 100644 (file)
--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
an exception, the original message is bounced back to the sender with the
explanatory message given in the exception.
-$Id: mailgw.py,v 1.21 2001-10-21 00:53:42 richard Exp $
+$Id: mailgw.py,v 1.22 2001-10-21 03:35:13 richard Exp $
'''
if signature.match(lines[0]):
break
l.append(section)
- return summary, '\n'.join(l)
+ return summary, '\n\n'.join(l)
#
# $Log: not supported by cvs2svn $
+# Revision 1.21 2001/10/21 00:53:42 richard
+# bug #473130: Nosy list not set correctly
+#
# Revision 1.20 2001/10/17 23:13:19 richard
# Did a fair bit of work on the admin tool. Now has an extra command "table"
# which displays node information in a tabular format. Also fixed import and
diff --git a/test/test_mailsplit.py b/test/test_mailsplit.py
index 9b0a924aa576f7774ddf366c021abbb90ac3661f..62e8c29b16c052446606832e37fdd6eddf968723 100644 (file)
--- a/test/test_mailsplit.py
+++ b/test/test_mailsplit.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: test_mailsplit.py,v 1.5 2001-08-07 00:24:43 richard Exp $
+# $Id: test_mailsplit.py,v 1.6 2001-10-21 03:35:13 richard Exp $
import unittest, cStringIO
self.assertEqual(summary, 'testing')
self.assertEqual(content, 'testing')
+ def testParagraphs(self):
+ s = '''testing\n\ntesting\n\ntesting'''
+ summary, content = parseContent(s)
+ print `summary`, `content`
+ self.assertEqual(summary, 'testing')
+ self.assertEqual(content, 'testing\n\ntesting\n\ntesting')
+
def testEmpty(self):
s = ''
summary, content = parseContent(s)
#
# $Log: not supported by cvs2svn $
+# Revision 1.5 2001/08/07 00:24:43 richard
+# stupid typo
+#
# Revision 1.4 2001/08/07 00:15:51 richard
# Added the copyright/license notice to (nearly) all files at request of
# Bizar Software.