Commit 35e0afe6 authored by Andreas Jung's avatar Andreas Jung

fixed typo

parent 297bac33
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
"""Simple column indices""" """Simple column indices"""
__version__='$Revision: 1.3 $'[11:-2] __version__='$Revision: 1.4 $'[11:-2]
from Globals import Persistent from Globals import Persistent
from Acquisition import Implicit from Acquisition import Implicit
...@@ -101,7 +101,7 @@ from BTrees.IIBTree import IITreeSet, IISet, union, intersection ...@@ -101,7 +101,7 @@ from BTrees.IIBTree import IITreeSet, IISet, union, intersection
import BTrees.Length import BTrees.Length
from Products.PluginIndexes.common.util import parseIndexRequest from Products.PluginIndexes.common.util import parseIndexRequest
import sys,exceptions import sys
_marker = [] _marker = []
...@@ -389,7 +389,7 @@ class UnIndex(Persistent, Implicit): ...@@ -389,7 +389,7 @@ class UnIndex(Persistent, Implicit):
# experimental code for specifing the operator # experimental code for specifing the operator
operator = record.get('operator',self.useOperator) operator = record.get('operator',self.useOperator)
if not operator in self.operators : if not operator in self.operators :
raise exepctions.RuntimeError,"operator not valid: %s" % operator raise RuntimeError,"operator not valid: %s" % operator
# depending on the operator we use intersection or union # depending on the operator we use intersection or union
if operator=="or": set_func = union if operator=="or": set_func = union
......
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