twistedutil.protocol: fix AttributeError in SimpleSpawnFactory
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user