[Zope3-checkins] CVS: Zope3/lib/python/Zope/DocumentTemplate - pDocumentTemplate.py:1.3
Jeremy Hylton
jeremy@zope.com
Wed, 17 Jul 2002 19:13:30 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/DocumentTemplate
In directory cvs.zope.org:/tmp/cvs-serv6428/Zope/DocumentTemplate
Modified Files:
pDocumentTemplate.py
Log Message:
Add some important parens!
=== Zope3/lib/python/Zope/DocumentTemplate/pDocumentTemplate.py 1.2 => 1.3 ===
for d in self.dicts:
try:
return d[key]
- except KeyError, AttributeError:
+ except (KeyError, AttributeError):
pass
raise KeyError, key