Commit 67f7cfc5 authored by Chris McDonough's avatar Chris McDonough

Merge from branch to fix parens matching.

parent 82d2cf1d
...@@ -91,7 +91,7 @@ undo information so that objects can be unindexed when the old value ...@@ -91,7 +91,7 @@ undo information so that objects can be unindexed when the old value
is no longer known. is no longer known.
""" """
__version__ = '$Revision: 1.44 $'[11:-2] __version__ = '$Revision: 1.45 $'[11:-2]
import string, regex, regsub, ts_regex import string, regex, regsub, ts_regex
import operator import operator
...@@ -590,7 +590,7 @@ class UnTextIndex(Persistent, Implicit): ...@@ -590,7 +590,7 @@ class UnTextIndex(Persistent, Implicit):
elif operandType is StringType: elif operandType is StringType:
left = self[left] left = self[left]
elif operandType is ListType: elif operandType is ListType:
left = evaluate(left, self) left = self.evaluate(left)
operandType = type(right) operandType = type(right)
if operandType is IntType: if operandType is IntType:
...@@ -598,7 +598,7 @@ class UnTextIndex(Persistent, Implicit): ...@@ -598,7 +598,7 @@ class UnTextIndex(Persistent, Implicit):
elif operandType is StringType: elif operandType is StringType:
right = self[right] right = self[right]
elif operandType is ListType: elif operandType is ListType:
right = evaluate(right, self) right = self.evaluate(right)
return (left, right) return (left, right)
......
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