[Twisted-Python] Timeout protocol wrapper broken

Matthias Urlichs smurf at noris.de
Fri May 9 07:38:20 MDT 2003


Summary: I want to use Python 2.2 and multiple inheritance here,
or at least a __getattr__-style pass-everything approach.

Interim fix (I guess nobody tried this with a Web server yet...):

--- 1.8/twisted/protocols/policies.py   Thu Apr 10 07:03:51 2003
+++ edited/twisted/protocols/policies.py        Fri May  9 15:22:04 2003
@@ -90,6 +90,12 @@
         self.wrappedFactory = wrappedFactory
         self.protocols = {}

+    def startFactory(self):
+        self.wrappedFactory.startFactory()
+
+    def stopFactory(self):
+        self.wrappedFactory.stopFactory()
+
     def startedConnecting(self, connector):
         self.wrappedFactory.startedConnecting(connector)



-- 
Matthias




More information about the Twisted-Python mailing list