[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/applicationcontrol/ Update doc strings to ReST

Phil Ruggera pruggera at san.rr.com
Wed Jul 14 20:06:40 EDT 2004


Log message for revision 26543:
  Update doc strings to ReST


Changed:
  U   Zope3/trunk/src/zope/app/applicationcontrol/applicationcontrol.py
  U   Zope3/trunk/src/zope/app/applicationcontrol/browser/runtimeinfo.py
  U   Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py
  U   Zope3/trunk/src/zope/app/applicationcontrol/browser/translationdomaincontrol.py
  U   Zope3/trunk/src/zope/app/applicationcontrol/browser/zodbcontrol.py
  U   Zope3/trunk/src/zope/app/applicationcontrol/interfaces.py
  U   Zope3/trunk/src/zope/app/applicationcontrol/runtimeinfo.py
  U   Zope3/trunk/src/zope/app/applicationcontrol/zopeversion.py


-=-
Modified: Zope3/trunk/src/zope/app/applicationcontrol/applicationcontrol.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/applicationcontrol.py	2004-07-14 22:57:30 UTC (rev 26542)
+++ Zope3/trunk/src/zope/app/applicationcontrol/applicationcontrol.py	2004-07-15 00:06:40 UTC (rev 26543)
@@ -14,6 +14,7 @@
 """Application Control
 
 $Id$"""
+__docformat__ = 'restructuredtext'
 
 from zope.app.applicationcontrol.interfaces import IApplicationControl
 from zope.app.location import Location

Modified: Zope3/trunk/src/zope/app/applicationcontrol/browser/runtimeinfo.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/browser/runtimeinfo.py	2004-07-14 22:57:30 UTC (rev 26542)
+++ Zope3/trunk/src/zope/app/applicationcontrol/browser/runtimeinfo.py	2004-07-15 00:06:40 UTC (rev 26543)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from zope.app.applicationcontrol.interfaces import IRuntimeInfo
 
 from zope.app.i18n import ZopeMessageIDFactory as _

Modified: Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py	2004-07-14 22:57:30 UTC (rev 26542)
+++ Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py	2004-07-15 00:06:40 UTC (rev 26543)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from zope.app import zapi
 from zope.app.applicationcontrol.interfaces import IServerControl
 

Modified: Zope3/trunk/src/zope/app/applicationcontrol/browser/translationdomaincontrol.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/browser/translationdomaincontrol.py	2004-07-14 22:57:30 UTC (rev 26542)
+++ Zope3/trunk/src/zope/app/applicationcontrol/browser/translationdomaincontrol.py	2004-07-15 00:06:40 UTC (rev 26543)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from zope.i18n.interfaces import ITranslationDomain
 from zope.app import zapi
 from zope.app.i18n import ZopeMessageIDFactory as _

Modified: Zope3/trunk/src/zope/app/applicationcontrol/browser/zodbcontrol.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/browser/zodbcontrol.py	2004-07-14 22:57:30 UTC (rev 26542)
+++ Zope3/trunk/src/zope/app/applicationcontrol/browser/zodbcontrol.py	2004-07-15 00:06:40 UTC (rev 26543)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from ZODB.FileStorage.FileStorage import FileStorageError
 from zope.app.i18n import ZopeMessageIDFactory as _
 

Modified: Zope3/trunk/src/zope/app/applicationcontrol/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/interfaces.py	2004-07-14 22:57:30 UTC (rev 26542)
+++ Zope3/trunk/src/zope/app/applicationcontrol/interfaces.py	2004-07-15 00:06:40 UTC (rev 26543)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 from zope.interface import Interface
 
 class IApplicationControl(Interface):
@@ -81,23 +83,23 @@
     def shutdown(time=0):
         """Shutdown the server.
 
-        The time should be greater-equal 0.
+        The `time` should be greater-equal 0.
 
-        If the time is 0, the we do a hard shutdown, i.e. closing all sockets
+        If the `time` is 0, the we do a hard shutdown, i.e. closing all sockets
         without waiting for tasks to complete.
 
-        If the time is not 0, then we will give the tasks 'time' seconds to
+        If the `time` is not 0, then we will give the tasks `time` seconds to
         finish before shutting down.
         """
 
     def restart(time=0):
         """Restart the server.
 
-        The time should be greater-equal 0.
+        The `time` should be greater-equal 0.
 
-        If the time is 0, the we do a hard shutdown, i.e. closing all sockets
+        If the `time` is 0, the we do a hard shutdown, i.e. closing all sockets
         without waiting for tasks to complete.
 
-        If the time is not 0, then we will give the tasks 'time' seconds to
+        If the `time` is not 0, then we will give the tasks `time` seconds to
         finish before shutting down.
         """

Modified: Zope3/trunk/src/zope/app/applicationcontrol/runtimeinfo.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/runtimeinfo.py	2004-07-14 22:57:30 UTC (rev 26542)
+++ Zope3/trunk/src/zope/app/applicationcontrol/runtimeinfo.py	2004-07-15 00:06:40 UTC (rev 26543)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 import sys, os, time
 
 try:

Modified: Zope3/trunk/src/zope/app/applicationcontrol/zopeversion.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/zopeversion.py	2004-07-14 22:57:30 UTC (rev 26542)
+++ Zope3/trunk/src/zope/app/applicationcontrol/zopeversion.py	2004-07-15 00:06:40 UTC (rev 26543)
@@ -15,6 +15,8 @@
 
 $Id$
 """
+__docformat__ = 'restructuredtext'
+
 import os
 import re
 



More information about the Zope3-Checkins mailing list