twistedutil.protocol: fix AttributeError in SimpleSpawnFactory

This commit is contained in:
Denis Bilenko
2009-05-22 13:02:54 +07:00
parent 04dff50669
commit 42325e47f2

View File

@@ -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()