Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
479cdd9a
Commit
479cdd9a
authored
Jan 22, 2002
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed debug code
parent
ec45de42
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c
...ex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c
+4
-7
No files found.
lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c
View file @
479cdd9a
...
...
@@ -574,7 +574,7 @@ static char Splitter_module_documentation[] =
"
\n
"
"for use in an inverted index
\n
"
"
\n
"
"$Id: ISO_8859_1_Splitter.c,v 1.
7 2002/01/21 19:28:55
andreasjung Exp $
\n
"
"$Id: ISO_8859_1_Splitter.c,v 1.
8 2002/01/22 15:59:59
andreasjung Exp $
\n
"
;
...
...
@@ -583,22 +583,19 @@ void
initISO_8859_1_Splitter
(
void
)
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
7
$"
;
char
*
rev
=
"$Revision: 1.
8
$"
;
/* Create the module and add the functions */
initSplitterTrtabs
();
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module Splitter 1"
);
m
=
Py_InitModule4
(
"ISO_8859_1_Splitter"
,
Splitter_module_methods
,
Splitter_module_documentation
,
(
PyObject
*
)
NULL
,
PYTHON_API_VERSION
);
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module Splitter 2"
);
/* Add some symbolic constants to the module */
d
=
PyModule_GetDict
(
m
);
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module Splitter 3"
);
PyDict_SetItemString
(
d
,
"__version__"
,
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module Splitter 4"
);
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module Splitter"
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment