From 4fe8ef358d6edee62fde5e07179b60f8292c3d8c Mon Sep 17 00:00:00 2001 From: Olivier Vielpeau Date: Fri, 31 Mar 2017 18:25:11 -0400 Subject: [PATCH] [datadog.conf] Use `items()` instead of `iteritems()` for py3 support `iteritems` doesn't exist in python3. We're dealing with a dict that'll always be relatively small so switching to `items` is painless. --- templates/datadog.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/datadog.conf.j2 b/templates/datadog.conf.j2 index 85dd700e..4870e5e3 100644 --- a/templates/datadog.conf.j2 +++ b/templates/datadog.conf.j2 @@ -18,7 +18,7 @@ {% endif %} {% if datadog_config_ex is defined -%} -{% for section, keyvals in datadog_config_ex.iteritems() %} +{% for section, keyvals in datadog_config_ex.items() %} [{{ section }}] {{ keyvals | to_nice_yaml }} {% endfor %}