Commit 604c7013 authored by Jim Fulton's avatar Jim Fulton

removed license checks

parent 038c1774
......@@ -11,7 +11,7 @@
static char BTree_module_documentation[] =
""
"\n$Id: BTree.c,v 1.16 1998/03/24 15:17:44 jim Exp $"
"\n$Id: BTree.c,v 1.17 1998/11/23 11:45:39 jim Exp $"
;
#define PERSISTENT
......@@ -1762,7 +1762,7 @@ initBTree()
#endif
{
PyObject *m, *d;
char *rev="$Revision: 1.16 $";
char *rev="$Revision: 1.17 $";
UNLESS(PyExtensionClassCAPI=PyCObject_Import("ExtensionClass","CAPI"))
return;
......@@ -1800,8 +1800,6 @@ initBTree()
PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
#include "dcprotect.h"
/* Check for errors */
if (PyErr_Occurred())
Py_FatalError("can't initialize module BTree");
......@@ -1816,6 +1814,9 @@ initBTree()
Revision Log:
$Log: BTree.c,v $
Revision 1.17 1998/11/23 11:45:39 jim
removed license checks
Revision 1.16 1998/03/24 15:17:44 jim
Brought reinit/deactivate machinery up to date.
......
......@@ -10,7 +10,7 @@
static char intSet_module_documentation[] =
""
"\n$Id: intSet.c,v 1.9 1998/03/24 15:17:34 jim Exp $"
"\n$Id: intSet.c,v 1.10 1998/11/23 11:45:40 jim Exp $"
;
#include <limits.h>
......@@ -537,7 +537,7 @@ void
initintSet()
{
PyObject *m, *d;
char *rev="$Revision: 1.9 $";
char *rev="$Revision: 1.10 $";
UNLESS(ExtensionClassImported) return;
......@@ -563,8 +563,6 @@ initintSet()
PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
#include "dcprotect.h"
/* Check for errors */
if (PyErr_Occurred())
Py_FatalError("can't initialize module intSet");
......@@ -575,6 +573,9 @@ initintSet()
Revision Log:
$Log: intSet.c,v $
Revision 1.10 1998/11/23 11:45:40 jim
removed license checks
Revision 1.9 1998/03/24 15:17:34 jim
*** empty log message ***
......
/*
$Id: Query.c,v 1.5 1997/11/13 20:38:37 jim Exp $
$Id: Query.c,v 1.6 1998/11/23 11:50:38 jim Exp $
Query objects for building tests without python code generation.
......@@ -890,14 +890,14 @@ static char Query_module_documentation[] =
"against objects. Each object type define objects that can be called\n"
"with a single argument or with 'getitem' to check whether an object,\n"
"such as a database record or a collection item satisfies a query.\n"
"\n$Id: Query.c,v 1.5 1997/11/13 20:38:37 jim Exp $"
"\n$Id: Query.c,v 1.6 1998/11/23 11:50:38 jim Exp $"
;
void
initQuery()
{
PyObject *m, *d, *regex, *string;
char *rev="$Revision: 1.5 $";
char *rev="$Revision: 1.6 $";
AttrTesttype.ob_type =&PyType_Type;
CompAttrTesttype.ob_type =&PyType_Type;
......@@ -930,27 +930,9 @@ initQuery()
d = PyModule_GetDict(m);
PyDict_SetItemString(d, "__version__",
PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
#include "dcprotect.h"
/* Check for errors */
if (PyErr_Occurred())
Py_FatalError("can't initialize module BTree");
}
/****************************************************************************
$Log: Query.c,v $
Revision 1.5 1997/11/13 20:38:37 jim
added dcprotect
Revision 1.4 1997/03/23 01:33:50 jim
Added repr operations.
Revision 1.3 1997/03/22 14:56:35 jim
Added RCS keywords.
Rearranged init to handle errors better.
****************************************************************************/
......@@ -396,7 +396,7 @@ static char Splitter_module_documentation[] =
"\n"
"for use in an inverted index\n"
"\n"
"$Id: Splitter.c,v 1.9 1998/04/08 13:38:04 jim Exp $\n"
"$Id: Splitter.c,v 1.10 1998/11/23 11:50:38 jim Exp $\n"
;
......@@ -404,7 +404,7 @@ void
initSplitter()
{
PyObject *m, *d;
char *rev="$Revision: 1.9 $";
char *rev="$Revision: 1.10 $";
/* Create the module and add the functions */
m = Py_InitModule4("Splitter", Splitter_module_methods,
......@@ -416,7 +416,5 @@ initSplitter()
PyDict_SetItemString(d, "__version__",
PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
#include "dcprotect.h"
if (PyErr_Occurred()) Py_FatalError("can't initialize module Splitter");
}
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