[Zope3-checkins] CVS: Zope3/lib/python/Zope/PageTemplate - PageTemplate.py:1.8

Fred L. Drake, Jr. fred@zope.com
Thu, 5 Dec 2002 12:15:21 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate
In directory cvs.zope.org:/tmp/cvs-serv32561

Modified Files:
	PageTemplate.py 
Log Message:
normalize whitespace
add a comment about a potential optimization


=== Zope3/lib/python/Zope/PageTemplate/PageTemplate.py 1.7 => 1.8 ===
--- Zope3/lib/python/Zope/PageTemplate/PageTemplate.py:1.7	Tue Oct 22 11:16:52 2002
+++ Zope3/lib/python/Zope/PageTemplate/PageTemplate.py	Thu Dec  5 12:15:21 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
 # All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
-# 
+#
 ##############################################################################
 """Page Template module
 
@@ -140,6 +140,7 @@
                 text = text[errend + 4:]
         if self._text != text:
             self._text = text
+        # XXX can this be done only if we changed self._text?
         self._cook()
 
     def read(self):