Commit e8bdf042 authored by Tim Peters's avatar Tim Peters

Whitespace repair.

parent b0168509
...@@ -259,7 +259,7 @@ class BaseIndex(Persistent): ...@@ -259,7 +259,7 @@ class BaseIndex(Persistent):
if doc2score is None: if doc2score is None:
doc2score = {} doc2score = {}
elif (isinstance(doc2score, dicttype) and elif (isinstance(doc2score, dicttype) and
len(doc2score) == self.DICT_CUTOFF): len(doc2score) == self.DICT_CUTOFF):
doc2score = IIBTree(doc2score) doc2score = IIBTree(doc2score)
doc2score[docid] = weight doc2score[docid] = weight
self._wordinfo[wid] = doc2score # not redundant: Persistency! self._wordinfo[wid] = doc2score # not redundant: Persistency!
......
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