[Twisted-Python] Re: [Twisted-commits] r22475 - Fix twisted.spread.util.FilePager to make it works with empty files:
Jean-Paul Calderone
exarkun at divmod.com
Sun Feb 10 09:32:24 MST 2008
On Sat, 09 Feb 2008 13:03:02 -0700, Thomas Herve <therve at wolfwood.twistedmatrix.com> wrote:
>Author: therve
>Date: Sat Feb 9 13:03:00 2008
>New Revision: 22475
>
>Modified:
> trunk/twisted/spread/util.py
> trunk/twisted/test/test_pb.py
>
>Log:
>Fix twisted.spread.util.FilePager to make it works with empty files:
>previously, it didn't callback correctly.
>
>Author: zectbumo
>Reviewer: therve
>Fixes: #3023
>
> [snip]
>+ while not l and ttl > 0:
>+ pump.pump()
>+ ttl -= 1
>+ print ttl
*cough* ;)
> [snip]
Jean-Paul
More information about the Twisted-Python
mailing list