From b131f905b6699f9cb7a8e95004c0d59cc464660c Mon Sep 17 00:00:00 2001 From: rallytime Date: Mon, 18 Jul 2016 15:57:16 -0600 Subject: [PATCH] Remove iteritems() references from github execution module --- salt/modules/github.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/salt/modules/github.py b/salt/modules/github.py index 70b36aaaf7..eace6ad935 100644 --- a/salt/modules/github.py +++ b/salt/modules/github.py @@ -36,6 +36,7 @@ import logging # Import Salt Libs from salt.exceptions import CommandExecutionError +import salt.ext.six as six import salt.utils.http # Import third party libs @@ -705,7 +706,7 @@ def get_milestone(number=None, else: milestones = get_milestones(repo_name=repo_name, profile=profile, output=output) - for key, val in milestones.iteritems(): + for key, val in six.iteritems(milestones): if val.get('title') == name: ret[key] = val return ret