[Zope-Checkins] SVN: Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/ZopePageTemplate.py removed debug output

Andreas Jung andreas at andreas-jung.com
Fri Dec 16 10:16:50 EST 2005


Log message for revision 40812:
  removed debug output
  

Changed:
  U   Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/ZopePageTemplate.py

-=-
Modified: Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/ZopePageTemplate.py
===================================================================
--- Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/ZopePageTemplate.py	2005-12-16 15:14:52 UTC (rev 40811)
+++ Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/ZopePageTemplate.py	2005-12-16 15:16:50 UTC (rev 40812)
@@ -130,7 +130,6 @@
     security.declareProtected(change_page_templates, 'pt_encoding')
     def pt_encoding(self):
         encoding = sniffEncoding(self.read())
-        print encoding
         return encoding                
 
     from ComputedAttribute import ComputedAttribute
@@ -142,6 +141,7 @@
         text = text.strip()
         if not isinstance(text, unicode):
             text = unicode(text, encoding)
+
         self.ZCacheable_invalidate()
         PageTemplate.pt_edit(self, text, content_type)
 



More information about the Zope-Checkins mailing list