summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a21c9b)
raw | patch | inline | side by side (parent: 3a21c9b)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 10 Sep 2002 12:43:18 +0000 (12:43 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 10 Sep 2002 12:43:18 +0000 (12:43 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1122 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/PageTemplates/Expressions.py | patch | blob | history |
index 2120a736e13e82ac676d5d75beb1cb05bc67b9c9..1d253bd82a04fa5c5319d149d7b2124333433b9e 100644 (file)
"""
-__version__='$Revision: 1.4 $'[11:-2]
+__version__='$Revision: 1.5 $'[11:-2]
import re, sys
from TALES import Engine, CompilerError, _valid_name, NAME_RE, \
path.reverse()
object = self
#print 'TRAVERSE', (object, path)
+ done = []
while path:
+ __traceback_info__ = 'Traversed %r\n ... looking for %r'%(done, path)
name = path.pop()
- __traceback_info__ = 'looking for "%s"'%name
if isinstance(name, TupleType):
object = apply(object, name)
raise
#print '... object is now', `o`
object = o
+ done.append(o)
return object