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

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


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

Modified Files:
	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.3 => 1.4 ===
--- Zope/lib/python/TAL/markupbase.py:1.3	Tue Sep 24 17:58:37 2002
+++ Zope/lib/python/TAL/markupbase.py	Wed Sep 25 12:13:48 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