[PEAK] UntwistedReactor.addWriter failure
Yaroslav Samchuk
yarcat at ank-sia.com
Mon Jul 19 07:32:13 EDT 2004
Hello,
peak.running.scheduler:UntwistedReactor failed on addWriter method.
Currently this method is implemented like:
scheduler.py[146]:
def addWriter(self, writer):
if writer not in self.writers:
self.writers[writer]=self.eventLoop.writable(writer)
e.addCallback(lambda s,e: self._fire(self.writers, writer,
writer.doWrite))
but you, probably, wanted to say
e = self.writers[writer] = self.eventLoop.writable(writer)
in scheduler.py[148] (assigment of the `e` was missed)
--
Best regards,
Yaroslav
More information about the PEAK
mailing list