Commit e96924a9 authored by 's avatar

Fixed a booboo in unindex_item

parent 6ece710d
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
__doc__='''Simple column indexes __doc__='''Simple column indexes
$Id: Index.py,v 1.6 1997/09/12 14:46:51 jim Exp $''' $Id: Index.py,v 1.7 1997/09/17 18:58:08 brian Exp $'''
__version__='$Revision: 1.6 $'[11:-2] __version__='$Revision: 1.7 $'[11:-2]
from BTree import BTree from BTree import BTree
from intSet import intSet from intSet import intSet
...@@ -103,7 +103,7 @@ class Index: ...@@ -103,7 +103,7 @@ class Index:
k=f(row,id) k=f(row,id)
try: try:
set=index[k] set=index[k]
set.remove(k) set.remove(i)
except KeyError: pass except KeyError: pass
def _apply_index(self, request): def _apply_index(self, request):
...@@ -146,6 +146,9 @@ class Index: ...@@ -146,6 +146,9 @@ class Index:
############################################################################## ##############################################################################
# #
# $Log: Index.py,v $ # $Log: Index.py,v $
# Revision 1.7 1997/09/17 18:58:08 brian
# Fixed a booboo in unindex_item
#
# Revision 1.6 1997/09/12 14:46:51 jim # Revision 1.6 1997/09/12 14:46:51 jim
# *** empty log message *** # *** empty log message ***
# #
......
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