[Buildbot-devel] trivial fix

Brian Warner warner-buildbot at lothar.com
Thu Aug 2 19:25:05 UTC 2007

> The problem is that, in Python, the iterator variable of a for loop is
> not set if the sequence is empty:
>   for i in []: print i
>   print "this won't work:", i

Ah, right.

> I didn't look too hard at the code, but it seems tht count == 0 for me,
> while count != 0 for you..

I encountered that problem during testing, before I finished renaming the
test files. There was a problem with sf.net CVS until yesterday (the tailor
process which copies changes from darcs into sf.net CVS was breaking on the
renames), so if you were running from CVS until yesterday afternoon then
you'd probably run into that count==0 case. CVS should be back in sync now,
so an update should fix it. Or just pull from darcs.


More information about the devel mailing list