From 3942b406052f64cb70dd4fe4400d56cd8b1b7d1b Mon Sep 17 00:00:00 2001 From: Mandar Vaze Date: Thu, 31 Dec 2015 23:50:36 +0530 Subject: [PATCH] Fixes python3 compatibility issue mentioned in #64 base_helper.tmpl uses .iteritems() to iterate thru the social_links list. But .iteritems() is not available in python3 .items() works for both python2 and 3 --- v7/material-theme/templates/base_helper.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v7/material-theme/templates/base_helper.tmpl b/v7/material-theme/templates/base_helper.tmpl index 4ef5535..198992b 100644 --- a/v7/material-theme/templates/base_helper.tmpl +++ b/v7/material-theme/templates/base_helper.tmpl @@ -112,7 +112,7 @@ lang="{{ lang }}"> var links = [ {% for item in social_links %} { - {% for k,v in item.iteritems() %} + {% for k,v in item.items() %} "{{ k }}": "{{ v }}", {% endfor %} },