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
a316fcba
Commit
a316fcba
authored
Feb 25, 1998
by
Jeffrey Shell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made the Index persistent, just as it should be
parent
8057d4a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
lib/python/SearchIndex/Index.py
lib/python/SearchIndex/Index.py
+7
-3
No files found.
lib/python/SearchIndex/Index.py
View file @
a316fcba
...
...
@@ -10,9 +10,10 @@
__doc__
=
'''Simple column indexes
$Id: Index.py,v 1.1
3 1998/02/05 19:02:37 jim
Exp $'''
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
$Id: Index.py,v 1.1
4 1998/02/25 22:38:34 jeffrey
Exp $'''
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
from
Globals
import
Persistent
from
BTree
import
BTree
from
intSet
import
intSet
import
operator
...
...
@@ -21,7 +22,7 @@ import string
ListType
=
type
([])
class
Index
:
class
Index
(
Persistent
)
:
"""Index object interface"""
def
_init
(
self
,
data
,
schema
,
id
):
...
...
@@ -180,6 +181,9 @@ class Index:
##############################################################################
#
# $Log: Index.py,v $
# Revision 1.14 1998/02/25 22:38:34 jeffrey
# made the Index persistent, just as it should be
#
# Revision 1.13 1998/02/05 19:02:37 jim
# Replaced try/except with get
#
...
...
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