[CalendarServer-changes] [11483] CalendarServer/branches/users/glyph/hang-fix/twext
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jul 5 17:43:22 PDT 2013
Revision: 11483
http://trac.calendarserver.org//changeset/11483
Author: glyph at apple.com
Date: 2013-07-05 17:43:22 -0700 (Fri, 05 Jul 2013)
Log Message:
-----------
Do status updates after status changes, thereby fixing sendfdport tests.
Modified Paths:
--------------
CalendarServer/branches/users/glyph/hang-fix/twext/internet/sendfdport.py
CalendarServer/branches/users/glyph/hang-fix/twext/web2/metafd.py
Modified: CalendarServer/branches/users/glyph/hang-fix/twext/internet/sendfdport.py
===================================================================
--- CalendarServer/branches/users/glyph/hang-fix/twext/internet/sendfdport.py 2013-07-06 00:43:20 UTC (rev 11482)
+++ CalendarServer/branches/users/glyph/hang-fix/twext/internet/sendfdport.py 2013-07-06 00:43:22 UTC (rev 11483)
@@ -218,6 +218,7 @@
subsocket.status = self.statusWatcher.statusFromMessage(
subsocket.status, message
)
+ self.statusWatcher.statusesChanged(self.statuses)
def sendFileDescriptor(self, skt, description):
@@ -247,6 +248,7 @@
selectedSocket.status = self.statusWatcher.newConnectionStatus(
selectedSocket.status
)
+ self.statusWatcher.statusesChanged(self.statuses)
def startDispatching(self):
Modified: CalendarServer/branches/users/glyph/hang-fix/twext/web2/metafd.py
===================================================================
--- CalendarServer/branches/users/glyph/hang-fix/twext/web2/metafd.py 2013-07-06 00:43:20 UTC (rev 11482)
+++ CalendarServer/branches/users/glyph/hang-fix/twext/web2/metafd.py 2013-07-06 00:43:22 UTC (rev 11483)
@@ -250,6 +250,12 @@
return result
+ def statusesChanged(self, statuses):
+ """
+ FIXME
+ """
+
+
def intWithNoneAsZero(self, x):
"""
Convert 'x' to an C{int}, unless x is C{None}, in which case return 0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130705/aef39d05/attachment.html>
More information about the calendarserver-changes
mailing list