]> git.neil.brown.name Git - plato.git/commit
ical.py: clear up confusion with 'last' and 'next'.
authorNeilBrown <neilb@suse.de>
Mon, 30 Dec 2013 22:14:04 +0000 (09:14 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 30 Dec 2013 22:14:04 +0000 (09:14 +1100)
commit59f7cb2a10c78b78be64d220a34a53ac794c6fcd
tree2cccbc83f86c4b9cdca629b9a030c9582522fc78
parent4e95f8494853e803ab8225555a4783d3a6fc6613
ical.py: clear up confusion with 'last' and 'next'.

The value stored in 'last' was being over-written.
This could lead to the end condition failing sometimes.

'last' is the last value added.  we stop when that exceeds the end point.
'next' is the next value to add.
lib/ical.py