[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/applicationcontrol - servercontrol.py:1.3

Jeremy Hylton jeremy@zope.com
Mon, 30 Dec 2002 16:44:26 -0500


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

Modified Files:
	servercontrol.py 
Log Message:
Docstring normalization


=== Zope3/src/zope/app/interfaces/applicationcontrol/servercontrol.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/interfaces/applicationcontrol/servercontrol.py:1.2	Wed Dec 25 09:12:57 2002
+++ Zope3/src/zope/app/interfaces/applicationcontrol/servercontrol.py	Mon Dec 30 16:44:26 2002
@@ -18,36 +18,35 @@
 from zope.interface import Interface
 
 class ServerControlError(Exception):
-    """Represents an error in the ServerControl.
-    """
+    """Represents an error in the ServerControl."""
 
 class DoublePriorityError(ServerControlError):
-    """Raisen when somebody tries to register a second Hook
-       for a priority."""
+    """A second hook was registered for a priority."""
 
 class NotCallableError(ServerControlError):
     """Raisen if a given object is not callable."""
 
 class IServerControl(Interface):
-    """Server Control Interface defines methods for shutting down and
-       restarting the server.
+    """Defines methods for shutting down and restarting the server.
 
-       This utility also keeps a registry of things to call when shutting down
-       zope. You can register using this interface or the zcml on the global
-       ServerController instance."""
+    This utility also keeps a registry of things to call when shutting down
+    zope. You can register using this interface or the zcml on the global
+    ServerController instance.
+    """
 
     def shutdown():
         """Shutdown the server gracefully
 
-                Returns: Nothing
+        Returns: Nothing
         """
 
     def restart():
         """Restart the server gracefully
 
-                Returns: Nothing
+        Returns: Nothing
         """
 
     def registerShutdownHook(call, priority, name):
         """Register a function that will be callen on server shutdown.
-           The function needs to takes no argument at all."""
+        
+        The function needs to takes no argument at all."""