[CalendarServer-changes] [4872] CalendarServer/trunk/twext/internet/tcp.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Dec 16 16:42:57 PST 2009
Revision: 4872
http://trac.macosforge.org/projects/calendarserver/changeset/4872
Author: sagen at apple.com
Date: 2009-12-16 16:42:57 -0800 (Wed, 16 Dec 2009)
Log Message:
-----------
Switch the superclass order so that doRead( ) actually gets overridden.
Modified Paths:
--------------
CalendarServer/trunk/twext/internet/tcp.py
Modified: CalendarServer/trunk/twext/internet/tcp.py
===================================================================
--- CalendarServer/trunk/twext/internet/tcp.py 2009-12-16 23:52:43 UTC (rev 4871)
+++ CalendarServer/trunk/twext/internet/tcp.py 2009-12-17 00:42:57 UTC (rev 4872)
@@ -41,11 +41,11 @@
self.numberAccepts = min(self.factory.maxRequests - self.factory.outstandingRequests, self.factory.maxAccepts)
tcp.Port.doRead(self)
-class MaxAcceptTCPPort(tcp.Port, MaxAcceptPortMixin):
+class MaxAcceptTCPPort(MaxAcceptPortMixin, tcp.Port):
""" Use for non-inheriting tcp ports """
pass
-class MaxAcceptSSLPort(ssl.Port, MaxAcceptPortMixin):
+class MaxAcceptSSLPort(MaxAcceptPortMixin, ssl.Port):
""" Use for non-inheriting SSL ports """
pass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091216/c03021b7/attachment.html>
More information about the calendarserver-changes
mailing list