[ZPT] CVS: Products/PageTemplates - ZopePageTemplate.py:1.15

Evan Simpson evan@zope.com
Tue, 7 Aug 2001 10:39:48 -0400


Update of /cvs-repository/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv21983

Modified Files:
	ZopePageTemplate.py 
Log Message:
Don't expand macros when doing history comparison.

=== Products/PageTemplates/ZopePageTemplate.py 1.14 => 1.15 ===
             'manage_historyCompare')(
             self, rev1, rev2, REQUEST,
-            historyComparisonResults=html_diff(rev1.read(), rev2.read()) )
+            historyComparisonResults=html_diff(rev1._text, rev2._text) )
 
     def pt_getContext(self):
         root = self.getPhysicalRoot()