[Zope3-checkins] CVS: Zope3/src/zope/app/applicationcontrol - applicationcontrol.py:1.1.2.3 metaconfigure.py:1.1.2.2 runtimeinfo.py:1.1.2.4 servercontrol.py:1.1.2.3

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


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

Modified Files:
      Tag: NameGeddon-branch
	applicationcontrol.py metaconfigure.py runtimeinfo.py 
	servercontrol.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/applicationcontrol/applicationcontrol.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/applicationcontrol/applicationcontrol.py:1.1.2.2	Tue Dec 24 07:50:45 2002
+++ Zope3/src/zope/app/applicationcontrol/applicationcontrol.py	Tue Dec 24 21:20:08 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.
-# 
+#
 ##############################################################################
 __doc__ = """ Application Control
 


=== Zope3/src/zope/app/applicationcontrol/metaconfigure.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/applicationcontrol/metaconfigure.py:1.1.2.1	Mon Dec 23 14:30:56 2002
+++ Zope3/src/zope/app/applicationcontrol/metaconfigure.py	Tue Dec 24 21:20:08 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.
-# 
+#
 ##############################################################################
 """ Register ServerControl configuration directives.
 
@@ -34,4 +34,3 @@
 def doRegisterShutdownHook(_context, call, priority, name):
     server_control = getUtility(_context, IServerControl)
     server_control.registerShutdownHook(_context.resolve(call), priority, name)
-


=== Zope3/src/zope/app/applicationcontrol/runtimeinfo.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/app/applicationcontrol/runtimeinfo.py:1.1.2.3	Tue Dec 24 11:52:50 2002
+++ Zope3/src/zope/app/applicationcontrol/runtimeinfo.py	Tue Dec 24 21:20:08 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.
-# 
+#
 ##############################################################################
 __doc__ = """ Runtime Information
 
@@ -25,7 +25,7 @@
 
     __implements__ =  IRuntimeInfo
     __used_for__ = IApplicationControl
-    
+
     def __init__(self, context):
         self.context = context
 
@@ -53,7 +53,7 @@
 
     def getProcessId(self):
         return os.getpid()
-    
+
     def getUptime(self):
         return time.time() - self.context.getStartTime()
 


=== Zope3/src/zope/app/applicationcontrol/servercontrol.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/applicationcontrol/servercontrol.py:1.1.2.2	Tue Dec 24 07:50:45 2002
+++ Zope3/src/zope/app/applicationcontrol/servercontrol.py	Tue Dec 24 21:20:08 2002
@@ -40,8 +40,8 @@
         order.sort()
 
         for hook_ in order:
-                hook = self._shutdown_reg[hook_]
-                hook[0]()
+            hook = self._shutdown_reg[hook_]
+            hook[0]()
 
     def restart(self):
         'XXX'