Python3 compatibility in timetable listing
itertools changed a little between py2 and py3
This commit is contained in:
parent
d22273b1c5
commit
183dea0b6e
1 changed files with 2 additions and 2 deletions
4
vendor/symposion/schedule/timetable.py
vendored
4
vendor/symposion/schedule/timetable.py
vendored
|
@ -47,5 +47,5 @@ class TimeTable(object):
|
|||
|
||||
def pairwise(iterable):
|
||||
a, b = itertools.tee(iterable)
|
||||
b.next()
|
||||
return itertools.izip_longest(a, b)
|
||||
next(b)
|
||||
return itertools.zip_longest(a, b)
|
||||
|
|
Loading…
Reference in a new issue