[CalendarServer-changes] [9642] CalendarServer/branches/users/glyph/q

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 11 01:55:15 PDT 2012


Revision: 9642
          http://trac.macosforge.org/projects/calendarserver/changeset/9642
Author:   glyph at apple.com
Date:     2012-08-11 01:55:15 -0700 (Sat, 11 Aug 2012)
Log Message:
-----------
better docstring

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/q/twext/enterprise/queue.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/q/

Modified: CalendarServer/branches/users/glyph/q/twext/enterprise/queue.py
===================================================================
--- CalendarServer/branches/users/glyph/q/twext/enterprise/queue.py	2012-08-11 08:55:14 UTC (rev 9641)
+++ CalendarServer/branches/users/glyph/q/twext/enterprise/queue.py	2012-08-11 08:55:15 UTC (rev 9642)
@@ -219,7 +219,7 @@
 
     def startReceivingBoxes(self, sender):
         """
-        Connection is up and running.
+        Connection is up and running; add this to the list of active peers.
         """
         r = super(ConnectionFromPeerNode, self).startReceivingBoxes(sender)
         self.peerPool.addPeerConnection(self)
@@ -228,7 +228,8 @@
 
     def stopReceivingBoxes(self, reason):
         """
-        Stop receiving boxes.
+        The connection has shut down; remove this from the list of active
+        peers.
         """
         self.peerPool.removePeerConnection(self)
         r = super(ConnectionFromPeerNode, self).stopReceivingBoxes(reason)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120811/c6162cfd/attachment-0001.html>


More information about the calendarserver-changes mailing list