[ZPT] CVS: Zope/lib/python/TAL - markupbase.py:1.2.24.2

Fred L. Drake, Jr. fdrake@acm.org
Wed, 25 Sep 2002 12:17:50 -0400


Update of /cvs-repository/Zope/lib/python/TAL
In directory cvs.zope.org:/tmp/cvs-serv28414

Modified Files:
      Tag: Zope-2_6-branch
	markupbase.py 
Log Message:
Add regression test for the typo-buglet Jeremy fixed, and fix the bug that
uncovered.


=== Zope/lib/python/TAL/markupbase.py 1.2.24.1 => 1.2.24.2 ===
--- Zope/lib/python/TAL/markupbase.py:1.2.24.1	Wed Sep 25 12:01:53 2002
+++ Zope/lib/python/TAL/markupbase.py	Wed Sep 25 12:17:49 2002
@@ -195,7 +195,7 @@
                     j = rawdata.find(")", j) + 1
                 else:
                     return -1
-                while rawdata[j:j+1] in string.whitespace:
+                while rawdata[j:j+1].isspace():
                     j = j + 1
                 if not rawdata[j:]:
                     # end of buffer, incomplete