[Zope3-checkins] CVS: Zope3/src/zope/app/vfs/container - adding.py:1.1.2.4 traverser.py:1.1.2.4 view.py:1.1.2.4

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


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

Modified Files:
      Tag: NameGeddon-branch
	adding.py traverser.py view.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/vfs/container/adding.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/app/vfs/container/adding.py:1.1.2.3	Tue Dec 24 07:51:22 2002
+++ Zope3/src/zope/app/vfs/container/adding.py	Tue Dec 24 21:20:54 2002
@@ -13,7 +13,7 @@
 ##############################################################################
 """Adding View for IContentContainer
 
-This 
+This
 
 $Id$
 """
@@ -48,7 +48,7 @@
 
     def setContentName(self, name):
         self.contentName = name
-        
+
     # See IAdding
     contentName = None # usually set by setContentName
 
@@ -57,6 +57,3 @@
 
     # See IContextDependent
     context = None # set in VFSView.__init__
-
-
-


=== Zope3/src/zope/app/vfs/container/traverser.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/app/vfs/container/traverser.py:1.1.2.3	Tue Dec 24 07:51:22 2002
+++ Zope3/src/zope/app/vfs/container/traverser.py	Tue Dec 24 21:20:54 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.
-# 
+#
 ##############################################################################
 """Define VFS View Traverser for folder contents.
 
@@ -72,14 +72,14 @@
         context = self.context
 
         # First, try to resolve the name as we get it.
-        try:            
+        try:
             return context[name]
         except KeyError:
             pass
 
         # It did not work the first time, so let's try without the extension.
         name, ext = self._splitExtension(name)
-        try:            
+        try:
             return context[name]
         except KeyError:
             view = queryView(context, name, request)
@@ -87,4 +87,3 @@
                 return view
 
         raise NotFound(context, name, request)
-


=== Zope3/src/zope/app/vfs/container/view.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/app/vfs/container/view.py:1.1.2.3	Tue Dec 24 07:51:22 2002
+++ Zope3/src/zope/app/vfs/container/view.py	Tue Dec 24 21:20:54 2002
@@ -77,9 +77,9 @@
                     stat = (16384+511, 0, 0, 0, "nouser", "nogroup", 0,
                             zerotime, zerotime, zerotime)
                 result.append((file, stat))
-                
+
         return result
-    
+
 
     def mkdir(self, name, mode=777):
         'See IVFSDirectoryPublisher'
@@ -128,7 +128,7 @@
             add = queryView(adding, ".", self.request)
 
         add(mode, instream, start)
-                    
+
     def check_writable(self, name):
         'See IVFSDirectoryPublisher'
         # XXX Cheesy band aid :-)
@@ -174,5 +174,3 @@
         # all the extension handeling code in the Traverser code.
         traverser = getView(self.context, '_traverse', request)
         return traverser.publishTraverse(request, name)
-
-