[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/ZPTPage - ZPTPage.py:1.15
Fred L. Drake, Jr.
fred@zope.com
Thu, 5 Dec 2002 10:52:45 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/ZPTPage
In directory cvs.zope.org:/tmp/cvs-serv10452
Modified Files:
ZPTPage.py
Log Message:
normalize whitespace
=== Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/ZPTPage.py 1.14 => 1.15 ===
--- Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/ZPTPage.py:1.14 Thu Dec 5 07:36:48 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/ZPTPage.py Thu Dec 5 10:52:44 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.
-#
+#
##############################################################################
"""
$Id$
@@ -45,7 +45,7 @@
title=u"Source",
description=u"""The source of the page template.""",
required=True)
-
+
class IRenderZPTPage(Interface):
@@ -74,7 +74,7 @@
'''See interface Zope.App.OFS.ZPTPage.ZPTPage.IZPTPage'''
if isinstance(text, unicode):
text = text.encode('utf-8')
-
+
self.pt_edit(text, content_type)
def pt_getContext(self, instance, request, **_kw):
@@ -92,7 +92,7 @@
instance = ProxyFactory(instance)
if args: args = ProxyFactory(args)
kw = ProxyFactory(keywords)
-
+
namespace = self.pt_getContext(instance, request,
args=args, options=kw)
@@ -114,7 +114,7 @@
def __init__(self, page):
self.page = page
-
+
def getSearchableText(self):
try:
# XXX check about encoding here and in the ZPTPage.read