[Zope-Checkins] CVS: Packages/DocumentTemplate - DT_Try.py:1.10

Andreas Jung andreas@zope.com
Fri, 5 Oct 2001 08:36:25 -0400


Update of /cvs-repository/Packages/DocumentTemplate
In directory cvs.zope.org:/tmp/cvs-serv29478

Modified Files:
	DT_Try.py 
Log Message:
Fixed wrong conversion to string methods.


=== Packages/DocumentTemplate/DT_Try.py 1.9 => 1.10 ===
                     for errname in nargs.split():
                         self.handlers.append((errname,nsection.blocks))
-                    if nargs.split()=='':
+                    if nargs.strip()=='':
                         if defaultHandlerFound:
                             raise ParseError, (
                                 'Only one default exception handler '