diff --git a/doc/CHANGES.txt b/doc/CHANGES.txt index f1d2257845e3819cb8bedbed70b25bc09a5e5093..3eb988b8b474f7ff4d4555c480af6e8f228de2b7 100755 --- a/doc/CHANGES.txt +++ b/doc/CHANGES.txt @@ -4,6 +4,12 @@ Zope Changes Change information for previous versions of Zope can be found in the file HISTORY.txt. + Bugs Fixed + + - Collector #433: Fixed broken Splitter backwards compatiblity + issue caused by code cleanup. + + Zope 2.6.0 alpha 1 Features Added @@ -120,7 +126,7 @@ Zope Changes enables retrieval of the document source for dedicated WebDAV clients (see ENVIRONMENT.txt for usage) - - Collector #272: Optimisations for RESPONSE.write + - Collector #272: Optimizations for RESPONSE.write - Collector #271: New environment variables are now used to send the access log into syslog. ZSYSLOG_ACCESS, diff --git a/lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/__init__.py b/lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/__init__.py index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..5dcbcc20b162fc1cc2b1f3bdd63ce1744eaa418d 100644 --- a/lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/__init__.py +++ b/lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/__init__.py @@ -0,0 +1,4 @@ +from ISO_8859_1_Splitter import ISO_8859_1_Splitter + +def Splitter(txt,stopwords=None,encoding='latin1'): + return ISO_8859_1_Splitter(txt,stopwords) diff --git a/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/__init__.py b/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/__init__.py index 8b137891791fe96927ad78e64b0aad7bded08bdc..6ad7659badcb51fc883137566772451e3a814373 100644 --- a/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/__init__.py +++ b/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/__init__.py @@ -1 +1 @@ - +from UnicodeSplitter import UnicodeSplitter as Splitter diff --git a/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/__init__.py b/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/__init__.py index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2e8cb7bc9cd490fd04faeae345f10abe8d1b7a29 100644 --- a/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/__init__.py +++ b/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/__init__.py @@ -0,0 +1,4 @@ +from ZopeSplitter import ZopeSplitter + +def Splitter(txt,stopwords={},encoding="latin1"): + return ZopeSplitter(txt,stopwords)