Commit d2844f0e authored by Ken Manheimer's avatar Ken Manheimer

Obey tabnanny - removed incongruous tabs.

parent d358ecb0
......@@ -202,7 +202,7 @@ Notes on a new text index design
space.
"""
__version__='$Revision: 1.15 $'[11:-2]
__version__='$Revision: 1.16 $'[11:-2]
from Globals import Persistent
import BTree, IIBTree
......@@ -230,17 +230,17 @@ class TextIndex(Persistent):
'id' -- the name of the item attribute to index. This is either
an attribute name or a record key.
"""
######################################################################
# For b/w compatability, have to allow __init__ calls with zero args
if not data==schema==id==None:
self._data=data
self._schema=schema
self.id=id
self._index=BTree()
self._syn=stop_word_dict
self._reindex()
else:
pass
######################################################################
# For b/w compatability, have to allow __init__ calls with zero args
if not data==schema==id==None:
self._data=data
self._schema=schema
self.id=id
self._index=BTree()
self._syn=stop_word_dict
self._reindex()
else:
pass
# for backwards compatability
_init = __init__
......
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