[Zope3-checkins] CVS: Zope3/src/zope/app/startup - initzodb.py:1.1.2.2 requestfactory.py:1.1.2.3 servertype.py:1.1.2.3 simpleregistry.py:1.1.2.3 startup.py:1.1.2.2
Tim Peters
tim.one@comcast.net
Tue, 24 Dec 2002 21:21:52 -0500
Update of /cvs-repository/Zope3/src/zope/app/startup
In directory cvs.zope.org:/tmp/cvs-serv19240/src/zope/app/startup
Modified Files:
Tag: NameGeddon-branch
initzodb.py requestfactory.py servertype.py simpleregistry.py
startup.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/startup/initzodb.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/startup/initzodb.py:1.1.2.1 Mon Dec 23 14:32:30 2002
+++ Zope3/src/zope/app/startup/initzodb.py Tue Dec 24 21:20:51 2002
@@ -2,12 +2,12 @@
#
# 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.
-#
+#
##############################################################################
=== Zope3/src/zope/app/startup/requestfactory.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/startup/requestfactory.py:1.1.2.2 Tue Dec 24 07:51:20 2002
+++ Zope3/src/zope/app/startup/requestfactory.py Tue Dec 24 21:20:51 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.
-#
+#
##############################################################################
"""ctory.py,v 1.1.2.2 2002/04/02 02:20:40 srichter Exp $
"""
@@ -28,7 +28,7 @@
The method returns the realized object.
"""
-
+
def __call__(input_stream, output_steam, env):
"""Call the Request Factory"""
@@ -56,7 +56,7 @@
realized = copy.copy(self)
realized._publication = realized._pubFactory(db)
return realized
-
+
def __call__(self, input_stream, output_steam, env):
'See IRequestFactory'
=== Zope3/src/zope/app/startup/servertype.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/startup/servertype.py:1.1.2.2 Tue Dec 24 07:51:20 2002
+++ Zope3/src/zope/app/startup/servertype.py Tue Dec 24 21:20:51 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.
-#
+#
##############################################################################
"""e.py,v 1.1.2.2 2002/04/02 02:20:40 srichter Exp $
"""
@@ -61,5 +61,3 @@
{'task_dispatcher': task_dispatcher,
'verbose': verbose,
'hit_log': self._logFactory()})
-
-
=== Zope3/src/zope/app/startup/simpleregistry.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/startup/simpleregistry.py:1.1.2.2 Tue Dec 24 07:51:20 2002
+++ Zope3/src/zope/app/startup/simpleregistry.py Tue Dec 24 21:20:51 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$
@@ -22,7 +22,7 @@
class ZopeDuplicateRegistryEntryError(Exception):
"""
- This Error is raised when the user tries to add an object with
+ This Error is raised when the user tries to add an object with
a name that already exists in the registry. Therefore,
overwriting is not allowed.
"""
@@ -63,7 +63,7 @@
"""Initialize registry"""
self.objects = {}
self.interface = interface
-
+
def register(self, name, object):
'''See ISimpleRegistry'''
=== Zope3/src/zope/app/startup/startup.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/startup/startup.py:1.1.2.1 Mon Dec 23 14:32:30 2002
+++ Zope3/src/zope/app/startup/startup.py Tue Dec 24 21:20:51 2002
@@ -2,12 +2,12 @@
#
# 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.
-#
+#
##############################################################################