Loic wrote:
> In the "extra" delay added during tournament breaks, you introduced a
> bug because the string read from the XML file was not converted to
> with int (delays.get('extra')). I thought, in a previous mail, that
> callLater was unhappy with a zero second delay. But it really is
> unhappy with a string being given instead of an int ;-)
*embarassed*
And, of course my tests never found it because I mocked it up:
self.service.delays['extra_wait_tourney_start'] = 40
return self.tourneyNewState_tourneyStart(40, 45)
And when I tested the config read, I did the cast myself as well:
self.assertEquals(int(self.service.delays[str]),
delaysValue)
writing that should have made me realize, but it didn't. Sorry, and
thanks for fixing it!
--
-- bkuhn
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users