[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/ZPTPage - ZPTPage.py:1.1.2.2

Fred L. Drake, Jr. fdrake@acm.org
Fri, 1 Feb 2002 14:36:30 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ZPTPage
In directory cvs.zope.org:/tmp/cvs-serv31829

Modified Files:
      Tag: Zope-3x-branch
	ZPTPage.py 
Log Message:
Remove carriage returns.

=== Zope3/lib/python/Zope/App/OFS/ZPTPage/ZPTPage.py 1.1.2.1 => 1.1.2.2 ===
-# Version 1.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.
-
-from Interface import Interface
-from Persistence import Persistent
-from Zope.PageTemplate.PageTemplate import PageTemplate
-from Zope.App.Security.IAttributeRolePermissionManageable \
-     import IAttributeRolePermissionManageable
-
-
-class IZPTPage(Interface):
-    """ZPT Pages are a persistent implementation of Page Templates.
-
-       Note: I introduced some new methods whose functionality is
-             actually already covered by some other methods but I
-             want to start inforcing a common coding standard.
-    """
-
-    def setSource(text):
-        """Save the source of the page template.
-        """
-
-
-    def getSource():
-        """Get the source of the page template.
-        """
-
-
-
-class ZPTPage(Persistent, PageTemplate):
-    """ """
-
-    __implements__ = IZPTPage
-
-
-    def __init__(self, text=''):
-        """ """
-        self.setSource(text)
-
-
-    ############################################################
-    # Implementation methods for interface
-    # Zope.App.OFS.ZPTPage.ZPTPage.IZPTPage
-
-    def getSource(self):
-        '''See interface IZPTPage'''
-        return self.read()
-
-
-    def setSource(self, text):
-        '''See interface IZPTPage'''
-        self.pt_edit(text, 'text/html')
-
-    #
-    ############################################################
-
-    _need__name__=1
-    _v_last_read = 0
-
-    _default_bindings = {'name_subpath': 'traverse_subpath'}
-
+# This software is subject to the provisions of the Zope Public License,
+# Version 1.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.
+
+from Interface import Interface
+from Persistence import Persistent
+from Zope.PageTemplate.PageTemplate import PageTemplate
+from Zope.App.Security.IAttributeRolePermissionManageable \
+     import IAttributeRolePermissionManageable
+
+
+class IZPTPage(Interface):
+    """ZPT Pages are a persistent implementation of Page Templates.
+
+       Note: I introduced some new methods whose functionality is
+             actually already covered by some other methods but I
+             want to start inforcing a common coding standard.
+    """
+
+    def setSource(text):
+        """Save the source of the page template.
+        """
+
+
+    def getSource():
+        """Get the source of the page template.
+        """
+
+
+
+class ZPTPage(Persistent, PageTemplate):
+    """ """
+
+    __implements__ = IZPTPage
+
+
+    def __init__(self, text=''):
+        """ """
+        self.setSource(text)
+
+
+    ############################################################
+    # Implementation methods for interface
+    # Zope.App.OFS.ZPTPage.ZPTPage.IZPTPage
+
+    def getSource(self):
+        '''See interface IZPTPage'''
+        return self.read()
+
+
+    def setSource(self, text):
+        '''See interface IZPTPage'''
+        self.pt_edit(text, 'text/html')
+
+    #
+    ############################################################
+
+    _need__name__=1
+    _v_last_read = 0
+
+    _default_bindings = {'name_subpath': 'traverse_subpath'}