[ZPT] CVS: Packages/TAL - CHANGES.txt:1.4 TALInterpreter.py:1.54
evan@serenade.digicool.com
evan@serenade.digicool.com
Thu, 21 Jun 2001 10:50:57 -0400
Update of /cvs-repository/Packages/TAL
In directory serenade:/home/evan/Zope/pt/lib/python/TAL
Modified Files:
CHANGES.txt TALInterpreter.py
Log Message:
Re-fix stray attributes bug, and make a unit test for it.
--- Updated File CHANGES.txt in package Packages/TAL --
--- CHANGES.txt 2001/06/16 16:23:39 1.3
+++ CHANGES.txt 2001/06/21 14:50:27 1.4
@@ -10,4 +10,5 @@
Bugs Fixed
-
+ - tal:atributes was creating stray attributes in METAL
+ expansion, and there was no unit test for this behavior.
--- Updated File TALInterpreter.py in package Packages/TAL --
--- TALInterpreter.py 2001/06/13 03:36:20 1.53
+++ TALInterpreter.py 2001/06/21 14:50:27 1.54
@@ -329,7 +329,7 @@
def attrAction(self, item):
name, value, action = item[:3]
- if action > 1 and not self.showtal:
+ if action == 1 or (action > 1 and not self.showtal):
return 0, name, value
ok = 1
if action == 2 and self.metal: