[Zope3-checkins] CVS: Zope3/src/zope/app/applicationcontrol - servercontrol.py:1.3
Barry Warsaw
barry@wooz.org
Thu, 2 Jan 2003 10:48:49 -0500
Update of /cvs-repository/Zope3/src/zope/app/applicationcontrol
In directory cvs.zope.org:/tmp/cvs-serv3558
Modified Files:
servercontrol.py
Log Message:
Simple cleanups
=== Zope3/src/zope/app/applicationcontrol/servercontrol.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/applicationcontrol/servercontrol.py:1.2 Wed Dec 25 09:12:25 2002
+++ Zope3/src/zope/app/applicationcontrol/servercontrol.py Thu Jan 2 10:48:46 2003
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# Copyright (c) 2001,2002,2003 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -11,15 +11,16 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-__doc__ = """ Server Control Implementation
+"""Server Control Implementation
-$Id$"""
+$Id$
+"""
-from zope.app.interfaces.applicationcontrol.servercontrol import \
- IServerControl, ServerControlError, DoublePriorityError, NotCallableError
+import sys
import logging
-import sys
+from zope.app.interfaces.applicationcontrol.servercontrol import \
+ IServerControl, ServerControlError, DoublePriorityError, NotCallableError
class ServerControl:
@@ -27,12 +28,11 @@
__implements__ = IServerControl
def __init__(self):
- self._shutdown_reg = {} # This is the actual shutdown registry.
- # It will hold the hooks accessible by their
- # priority. The priority actually needs to be
- # a floating point value, to allow most fine
- # grained control on the priority.
-
+ # This is the actual shutdown registry. It will hold the hooks
+ # accessible by their priority. The priority actually needs to be a
+ # floating point value, to allow most fine grained control on the
+ # priority.
+ self._shutdown_reg = {}
def shutdown(self):
text = ""