Skip to content

Commit bb8418b

Browse files
committed
fix: keep old msgs
1 parent a2be8bb commit bb8418b

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/collective/exportimport/export_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def get_default_page_info(self, obj):
605605
class ExportDiscussion(BaseExport):
606606
def __call__(self, download_to_server=False):
607607
alsoProvides(self.request, IMigrationMarker)
608-
self.title = _("Export comments")
608+
self.title = _(u"Export comments")
609609
self.download_to_server = download_to_server
610610
if not self.request.form.get("form.submitted", False):
611611
return self.index()

src/collective/exportimport/tests/test_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ def test_export_discussion(self):
527527
)
528528
conversation = IConversation(doc1)
529529
comment = createObject("plone.Comment")
530-
comment.text = "Comment text"
530+
comment.text = u"Comment text"
531531

532532
comment_html = createObject("plone.Comment")
533533
comment_html.text = "Comment text <strong>with HTML</strong>"

test-6.0.x.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
extends =
33
https://raw.githubusercontent.com/collective/buildout.plonetest/master/test-6.0.x.cfg
44
base.cfg
5+
6+
[versions]
7+
cffi = 2.0.0

0 commit comments

Comments
 (0)