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
347aaba1
Commit
347aaba1
authored
Dec 02, 1997
by
Jeffrey Shell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed buglet in .clear() method
parent
6f8fe146
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
lib/python/SearchIndex/Index.py
lib/python/SearchIndex/Index.py
+6
-3
No files found.
lib/python/SearchIndex/Index.py
View file @
347aaba1
...
...
@@ -10,8 +10,8 @@
__doc__
=
'''Simple column indexes
$Id: Index.py,v 1.1
1 1997/10/10 19:25:03
jeffrey Exp $'''
__version__
=
'$Revision: 1.1
1
$'
[
11
:
-
2
]
$Id: Index.py,v 1.1
2 1997/12/02 19:34:39
jeffrey Exp $'''
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
from
BTree
import
BTree
from
intSet
import
intSet
...
...
@@ -45,7 +45,7 @@ class Index:
self
.
_reindex
()
def
clear
(
self
):
self
.
_in
it
()
self
.
_in
dex
=
BTree
()
def
_reindex
(
self
,
start
=
0
):
"""Recompute index data for data with ids >= start."""
...
...
@@ -186,6 +186,9 @@ class Index:
##############################################################################
#
# $Log: Index.py,v $
# Revision 1.12 1997/12/02 19:34:39 jeffrey
# fixed buglet in .clear() method
#
# Revision 1.11 1997/10/10 19:25:03 jeffrey
# fixed min:max buglet
#
...
...
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