[Twisted-Python] adbapi question
Justin Ryan
justin at gnubia.net
Fri May 2 08:49:07 MDT 2003
It may be worthwhile to point out that reactor.run() should replace that
while loop.. each callback could check if db1.done == 1, and if it
doesn't, call reactor.stop()..
I think..
On Thu, 2003-05-01 at 17:41, Itamar Shtull-Trauring wrote:
> On Thu, 1 May 2003 22:35:44 +0100
> Jon Dyte <jon at totient.demon.co.uk> wrote:
>
> > while 1 == db1.done:
> > reactor.iterate()
>
> This is also wrong. You should be doing reactor.run().
>
More information about the Twisted-Python
mailing list