summaryrefslogtreecommitdiff
path: root/www/zope210/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'www/zope210/patches/patch-ae')
-rw-r--r--www/zope210/patches/patch-ae14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/zope210/patches/patch-ae b/www/zope210/patches/patch-ae
new file mode 100644
index 00000000000..e01ca9c50fc
--- /dev/null
+++ b/www/zope210/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1.1.1 2007/12/18 15:35:28 taca Exp $
+
+--- lib/python/zope/structuredtext/stng.py.orig 2007-03-25 18:51:59.000000000 +0900
++++ lib/python/zope/structuredtext/stng.py
+@@ -105,6 +105,9 @@ def structurize(paragraphs, delimiter=re
+ [paragraph,[sub-paragraphs]]
+ """
+
++ if type(paragraphs) == type(''):
++ paragraphs = unicode(paragraphs, 'utf-8')
++
+ currentlevel = 0
+ currentindent = 0
+ levels = {0:0}