[Zope3-checkins] CVS: Zope3/src/zope/tales - expressions.py:1.5
Steve Alexander
steve@cat-box.net
Fri, 20 Jun 2003 02:41:29 -0400
Update of /cvs-repository/Zope3/src/zope/tales
In directory cvs.zope.org:/tmp/cvs-serv28787/src/zope/tales
Modified Files:
expressions.py
Log Message:
removed excess whitespace
=== Zope3/src/zope/tales/expressions.py 1.4 => 1.5 ===
--- Zope3/src/zope/tales/expressions.py:1.4 Tue May 20 16:29:21 2003
+++ Zope3/src/zope/tales/expressions.py Fri Jun 20 02:41:28 2003
@@ -47,7 +47,7 @@
def __init__(self, path, traverser, engine):
self._traverser = traverser
self._engine = engine
-
+
# Parse path
compiledpath = []
currentpath = []
@@ -85,10 +85,10 @@
if currentpath:
compiledpath.append(tuple(currentpath))
-
+
first = compiledpath[0]
base = first[0]
-
+
if callable(first):
# check for initial function
raise CompilerError(
@@ -97,14 +97,13 @@
# check for initial ?
raise CompilerError(
'Dynamic name specified in first subpath element')
-
+
if not _valid_name(base):
raise CompilerError, 'Invalid variable name "%s"' % element
self._base = base
compiledpath[0]=first[1:]
self._compiled_path = tuple(compiledpath)
-
def _eval(self, econtext,
list=list, isinstance=isinstance):
vars = econtext.vars