[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src - ISO_8859_1_Splitter.c:1.6.4.3
Jens Vagelpohl
jens@zope.com
Wed, 20 Feb 2002 11:19:29 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src
In directory cvs.zope.org:/tmp/cvs-serv24752/TextIndex/Splitter/ISO_8859_1_Splitter/src
Modified Files:
Tag: Zope-2_5-branch
ISO_8859_1_Splitter.c
Log Message:
Merge removal of RCS substitution code from HEAD to 2.5
=== Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c 1.6.4.2 => 1.6.4.3 ===
initISO_8859_1_Splitter(void)
{
- PyObject *m, *d;
- char *rev="$Revision$";
+ PyObject *m;
/* Create the module and add the functions */
initSplitterTrtabs();
m = Py_InitModule4("ISO_8859_1_Splitter", Splitter_module_methods,
Splitter_module_documentation,
(PyObject*)NULL,PYTHON_API_VERSION);
-
- /* Add some symbolic constants to the module */
- d = PyModule_GetDict(m);
- PyDict_SetItemString(d, "__version__",
- PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
-
- if (PyErr_Occurred())
- Py_FatalError("can't initialize module Splitter");
}