From 42325e47f218af15060ca90085d7676b2868ab7b Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 22 May 2009 13:02:54 +0700 Subject: [PATCH] twistedutil.protocol: fix AttributeError in SimpleSpawnFactory --- eventlet/twistedutil/protocol.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eventlet/twistedutil/protocol.py b/eventlet/twistedutil/protocol.py index 0453fe2..b778042 100644 --- a/eventlet/twistedutil/protocol.py +++ b/eventlet/twistedutil/protocol.py @@ -395,6 +395,9 @@ class SimpleSpawnFactory(Factory): self.args = args self.kwargs = kwargs + def exc_handler(self, *args): + pass + def buildProtocol(self, addr): gtransport = self.gtransport_class(*self.args, **self.kwargs) protocol = gtransport.build_protocol()