[CalendarServer-changes] [11435] CalendarServer/branches/users/glyph/launchd-wrapper-bis/ calendarserver/tools/agent.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Jun 26 01:22:20 PDT 2013


Revision: 11435
          http://trac.calendarserver.org//changeset/11435
Author:   glyph at apple.com
Date:     2013-06-26 01:22:19 -0700 (Wed, 26 Jun 2013)
Log Message:
-----------
Docstrings must be the first syntactic element in the file.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/launchd-wrapper-bis/calendarserver/tools/agent.py

Modified: CalendarServer/branches/users/glyph/launchd-wrapper-bis/calendarserver/tools/agent.py
===================================================================
--- CalendarServer/branches/users/glyph/launchd-wrapper-bis/calendarserver/tools/agent.py	2013-06-26 08:22:14 UTC (rev 11434)
+++ CalendarServer/branches/users/glyph/launchd-wrapper-bis/calendarserver/tools/agent.py	2013-06-26 08:22:19 UTC (rev 11435)
@@ -15,6 +15,15 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 ##
+
+"""
+A service spawned on-demand by launchd, meant to handle configuration requests
+from Server.app.  When a request comes in on the socket specified in the launchd
+agent.plist, launchd will run "caldavd -t Agent" which ends up creating this
+service.  Requests are made using HTTP POSTS to /gateway, and are authenticated
+by OpenDirectory.
+"""
+
 from __future__ import print_function
 
 import cStringIO
@@ -51,13 +60,6 @@
 log = Logger()
 
 
-"""
-A service spawned on-demand by launchd, meant to handle configuration requests
-from Server.app.  When a request comes in on the socket specified in the launchd
-agent.plist, launchd will run "caldavd -t Agent" which ends up creating this
-service.  Requests are made using HTTP POSTS to /gateway, and are authenticated
-by OpenDirectory.
-"""
 
 class DirectoryServiceChecker:
     """
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130626/cd39feeb/attachment.html>


More information about the calendarserver-changes mailing list