2014-12-08 | Paul Boddie | raw files shortlog changelog graph | Permit extension of the event tuples. (Consider proper objects instead.) | |
imiptools/period.py (file) |
1.1 --- a/imiptools/period.py Mon Dec 08 19:12:13 2014 +0100 1.2 +++ b/imiptools/period.py Mon Dec 08 19:21:37 2014 +0100 1.3 @@ -154,7 +154,7 @@ 1.4 for point, active in slots: 1.5 for t in active: 1.6 if t: 1.7 - start, end, uid, transp = t 1.8 + start, end, uid = t[:3] 1.9 start_slot = points.index(start) 1.10 end_slot = points.index(end) 1.11 spans[uid] = end_slot - start_slot