[CalendarServer-changes] [1645]
CalendarServer/trunk/lib-patches/Twisted/twisted.runner.procmon.
patch
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jul 4 15:16:33 PDT 2007
Revision: 1645
http://trac.macosforge.org/projects/calendarserver/changeset/1645
Author: wsanchez at apple.com
Date: 2007-07-04 15:16:32 -0700 (Wed, 04 Jul 2007)
Log Message:
-----------
Add loseConnection() to DummyTransport. Prevents logging from stopping.
Modified Paths:
--------------
CalendarServer/trunk/lib-patches/Twisted/twisted.runner.procmon.patch
Modified: CalendarServer/trunk/lib-patches/Twisted/twisted.runner.procmon.patch
===================================================================
--- CalendarServer/trunk/lib-patches/Twisted/twisted.runner.procmon.patch 2007-07-04 18:48:03 UTC (rev 1644)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.runner.procmon.patch 2007-07-04 22:16:32 UTC (rev 1645)
@@ -2,7 +2,17 @@
===================================================================
--- twisted/runner/procmon.py (revision 19773)
+++ twisted/runner/procmon.py (working copy)
-@@ -130,10 +130,10 @@
+@@ -59,6 +59,9 @@
+
+ disconnecting = 0
+
++ def loseConnection(self):
++ pass
++
+ transport = DummyTransport()
+
+ class LineLogger(basic.LineReceiver):
+@@ -130,10 +133,10 @@
self.consistency = reactor.callLater(self.consistencyDelay,
self._checkConsistency)
@@ -15,7 +25,7 @@
if self.active:
self.startProcess(name)
-@@ -175,9 +175,9 @@
+@@ -175,9 +178,9 @@
p = self.protocols[name] = LoggingProtocol()
p.service = self
p.name = name
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070704/16051b97/attachment.html
More information about the calendarserver-changes
mailing list