Commit cd596b3f authored by Guido van Rossum's avatar Guido van Rossum

Remove redundant imports of ZODB.

A ZODB import is only redundant if it is not used and does not
precede an import from Persistence.
parent ac419c5b
...@@ -23,8 +23,6 @@ from Products.ZCTextIndex.BaseIndex import BaseIndex, \ ...@@ -23,8 +23,6 @@ from Products.ZCTextIndex.BaseIndex import BaseIndex, \
inverse_doc_frequency, \ inverse_doc_frequency, \
scaled_int, SCALE_FACTOR scaled_int, SCALE_FACTOR
import ZODB
class CosineIndex(BaseIndex): class CosineIndex(BaseIndex):
__implements__ = IIndex __implements__ = IIndex
......
...@@ -24,8 +24,6 @@ from Products.ZCTextIndex.BaseIndex import BaseIndex, \ ...@@ -24,8 +24,6 @@ from Products.ZCTextIndex.BaseIndex import BaseIndex, \
inverse_doc_frequency, \ inverse_doc_frequency, \
scaled_int scaled_int
import ZODB
class OkapiIndex(BaseIndex): class OkapiIndex(BaseIndex):
__implements__ = IIndex __implements__ = IIndex
......
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