[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate - simpleviewclass.py:1.1.2.2 viewpagetemplatefile.py:1.1.2.2

Tim Peters tim.one@comcast.net
Tue, 24 Dec 2002 21:21:40 -0500


Update of /cvs-repository/Zope3/src/zope/app/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv19240/src/zope/app/pagetemplate

Modified Files:
      Tag: NameGeddon-branch
	simpleviewclass.py viewpagetemplatefile.py 
Log Message:
Whitespace normalization, via Python's Tools/scripts/reindent.py.  The
files are fixed-points of that script now.  Fixed a few cases where
code relied on significant trailing whitespace (ouch).


=== Zope3/src/zope/app/pagetemplate/simpleviewclass.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/pagetemplate/simpleviewclass.py:1.1.2.1	Mon Dec 23 14:31:56 2002
+++ Zope3/src/zope/app/pagetemplate/simpleviewclass.py	Tue Dec 24 21:20:38 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.
-# 
+#
 ##############################################################################
 """
 
@@ -32,7 +32,7 @@
     def publishTraverse(self, request, name):
         if name == 'index.html':
             return self.index
-        
+
         raise NotFound(self, name, request)
 
     # XXX: we need some unittests for this !!!


=== Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py:1.1.2.1	Mon Dec 23 14:31:56 2002
+++ Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py	Tue Dec 24 21:20:38 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.
-# 
+#
 ##############################################################################
 """
 See ViewPageTemplateFile
@@ -52,7 +52,7 @@
 class ViewMapper:
     def __init__(self, ob, request):
         self.ob = ob
-        self.request = request 
+        self.request = request
 
     def __getitem__(self, name):
         return getView(self.ob, name, self.request)