From 6e88112ce0c765dba384f848bbd01551ab8f5788 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Thu, 23 Aug 2018 02:51:00 +0000 Subject: libreplanet-templates/2019: Update lp-schedule.jinja2. Use dict.items() instead of dict.iteritems() --- libreplanet-templates/2019/lp-schedule.jinja2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libreplanet-templates/2019/lp-schedule.jinja2') diff --git a/libreplanet-templates/2019/lp-schedule.jinja2 b/libreplanet-templates/2019/lp-schedule.jinja2 index 1543f2f..c1d6ef0 100644 --- a/libreplanet-templates/2019/lp-schedule.jinja2 +++ b/libreplanet-templates/2019/lp-schedule.jinja2 @@ -104,7 +104,7 @@ {# populate sessions macro #} {% macro populate_sessions(sessions, day_index, timeslot_index) %} - {% for session, session_info in sessions.iteritems() %} {# session start #} + {% for session, session_info in sessions.items() %} {# session start #}
{{ mk_session_header(session) }} {{ mk_speakers(session_info['speakers']) }} @@ -127,7 +127,7 @@ {# populate timeslots macro #} {% macro populate_timeslots(timeslots, day_index) %} - {% for timeslot, sessions in timeslots.iteritems() %} {# timeslot start #} + {% for timeslot, sessions in timeslots.items() %} {# timeslot start #}
{{ mk_timeslot_header(timeslot) }} {% if sessions|length > 0 %} @@ -138,7 +138,7 @@ {% endmacro %} {# lp schedule 2019 template start #} -{% for day, timeslots in lp_dict.iteritems() %} {# day start #} +{% for day, timeslots in lp_dict.items() %} {# day start #}
{{ mk_day_header(day) }} {{ populate_timeslots(timeslots, loop.index) }} -- cgit v1.2.3