[Zope-Checkins] CVS: Zope3/lib/python/Zope/PageTemplate - TALES.py:1.1.2.4
Jim Fulton
jim@zope.com
Tue, 20 Nov 2001 14:09:19 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate
In directory cvs.zope.org:/tmp/cvs-serv17721
Modified Files:
Tag: Zope-3x-branch
TALES.py
Log Message:
Fixed syntax error in Iterator.__init__.
Fixed ZTUtils imports.
=== Zope3/lib/python/Zope/PageTemplate/TALES.py 1.1.2.3 => 1.1.2.4 ===
import re, sys
-import ZTUtils
+import Zope.ZTUtils
StringType = type('')
@@ -79,9 +79,9 @@
from SafeMapping import SafeMapping
-class Iterator(ZTUtils.Iterator):
+class Iterator(Zope.ZTUtils.Iterator):
def __init__(self, name, seq, context):
- ZTUtils.Iterator.__init__(self, seq):
+ Zope.ZTUtils.Iterator.__init__(self, seq) # :
self.name = name
self._context = context
@@ -90,7 +90,7 @@
def next(self):
try:
- if ZTUtils.Iterator.next(self):
+ if Zope.ZTUtils.Iterator.next(self):
self._context.setLocal(self.name, self.seq[self.index])
return 1
except TALESError: