[Zope-Checkins] SVN: Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/PageTemplateFile.py some more comments

Andreas Jung andreas at andreas-jung.com
Sun Dec 11 10:03:30 EST 2005


Log message for revision 40707:
  some more comments
  

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

-=-
Modified: Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/PageTemplateFile.py
===================================================================
--- Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/PageTemplateFile.py	2005-12-11 14:46:00 UTC (rev 40706)
+++ Zope/branches/ajung-zpt-integration/lib/python/Products/PageTemplates/PageTemplateFile.py	2005-12-11 15:03:29 UTC (rev 40707)
@@ -1,3 +1,15 @@
+##############################################################################
+#
+# Copyright (c) 2002 Zope Corporation and Contributors. All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (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
+#
+##############################################################################
 
 import os
 
@@ -2,4 +14,9 @@
 from Globals import package_home, InitializeClass
+from App.config import getConfiguration
 from ZopePageTemplate import ZopePageTemplate
 
+# XXX: this needs some more work..this class is *not* used by the
+# ZopePageTemplate implementation but most likely only for class
+# using PTs for edit/add forms etc. Also the tests don't pass
+
 class PageTemplateFile(ZopePageTemplate):



More information about the Zope-Checkins mailing list