[CalendarServer-changes] [9594] CalendarServer/branches/users/glyph/q
source_changes at macosforge.org
source_changes at macosforge.org
Sat Aug 11 01:54:36 PDT 2012
Revision: 9594
http://trac.macosforge.org/projects/calendarserver/changeset/9594
Author: glyph at apple.com
Date: 2012-08-11 01:54:36 -0700 (Sat, 11 Aug 2012)
Log Message:
-----------
document endpoint() a little bit, remove useless representLocalProcess (that should be a separate object)
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:54:35 UTC (rev 9593)
+++ CalendarServer/branches/users/glyph/q/twext/enterprise/queue.py 2012-08-11 08:54:36 UTC (rev 9594)
@@ -25,14 +25,14 @@
"""
def endpoint(self):
- return TCP4ClientEndpoint(self.host, self.ampPort)
+ """
+ Create an L{IStreamServerEndpoint} that will talk to the master process
+ that is described by this L{MasterInfo}.
-
- def representLocalProcess(self):
+ @return: an endpoint that will connect to this host.
+ @rtype: L{IStreamServerEndpoint}
"""
- Set the flag that says that this L{MasterInfo} is representative of the
- current, local process.
- """
+ return TCP4ClientEndpoint(self.host, self.ampPort)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120811/8a7de8d0/attachment-0001.html>
More information about the calendarserver-changes
mailing list