Commit 5a2be82d authored by Jim Fulton's avatar Jim Fulton

*** empty log message ***

parent c2b97bff
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
__doc__='''Simple column indexes __doc__='''Simple column indexes
$Id: Index.py,v 1.5 1997/09/12 14:18:04 jim Exp $''' $Id: Index.py,v 1.6 1997/09/12 14:46:51 jim Exp $'''
__version__='$Revision: 1.5 $'[11:-2] __version__='$Revision: 1.6 $'[11:-2]
from BTree import BTree from BTree import BTree
from intSet import intSet from intSet import intSet
...@@ -124,7 +124,7 @@ class Index: ...@@ -124,7 +124,7 @@ class Index:
try: keys=request[id] try: keys=request[id]
except: return None except: return None
if type(keys) is ListType: keys=[keys] if type(keys) is not ListType: keys=[keys]
index=self._index index=self._index
r=None r=None
anyTrue=0 anyTrue=0
...@@ -146,6 +146,9 @@ class Index: ...@@ -146,6 +146,9 @@ class Index:
############################################################################## ##############################################################################
# #
# $Log: Index.py,v $ # $Log: Index.py,v $
# Revision 1.6 1997/09/12 14:46:51 jim
# *** empty log message ***
#
# Revision 1.5 1997/09/12 14:18:04 jim # Revision 1.5 1997/09/12 14:18:04 jim
# Added logic to allow "blank" inputs. # Added logic to allow "blank" inputs.
# #
......
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