Merge "Improve Python 3 compatibility"

This commit is contained in:
Jenkins 2017-06-29 13:49:37 +00:00 committed by Gerrit Code Review
commit a8d2af5a71

View File

@ -773,10 +773,10 @@ HORIZON_CONFIG["customization_module"] = 'horizon_customization.overrides'
{% endif %}
AVAILABLE_THEMES = [
{% for key, value in _horizon_available_themes.iteritems() %}
{% for key, value in _horizon_available_themes.items() %}
('{{ value.theme_name }}', '{{ value.theme_label }}', '{{ value.theme_path }}'),
{% endfor %}
{% for key, value in horizon_custom_themes.iteritems() %}
{% for key, value in horizon_custom_themes.items() %}
('{{ value.theme_name }}', '{{ value.theme_label }}', '{{ value.theme_path }}'),
{% endfor %}
]