Commit 436ff1ef authored by Andreas Jung's avatar Andreas Jung

Collector #433: Code cleanup and a modified import mechanism for splitters

caused trouble with backward compatiblity. The content of the __init__.py is
necessary for pre-2.6 installation but no longer used in 2.6.
parent 75215671
......@@ -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,
......
from ISO_8859_1_Splitter import ISO_8859_1_Splitter
def Splitter(txt,stopwords=None,encoding='latin1'):
return ISO_8859_1_Splitter(txt,stopwords)
from ZopeSplitter import ZopeSplitter
def Splitter(txt,stopwords={},encoding="latin1"):
return ZopeSplitter(txt,stopwords)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment