# HG changeset patch # User Paul Boddie # Date 1418062897 -3600 # Node ID ea1050c2a0d6f7e3c5cdfd7d0ee3f250a99bedcf # Parent 97703ae835abcb1347855d1b57b4450070902527 Permit extension of the event tuples. (Consider proper objects instead.) diff -r 97703ae835ab -r ea1050c2a0d6 imiptools/period.py --- a/imiptools/period.py Mon Dec 08 19:12:13 2014 +0100 +++ b/imiptools/period.py Mon Dec 08 19:21:37 2014 +0100 @@ -154,7 +154,7 @@ for point, active in slots: for t in active: if t: - start, end, uid, transp = t + start, end, uid = t[:3] start_slot = points.index(start) end_slot = points.index(end) spans[uid] = end_slot - start_slot