Remove iteritems() references from github execution module

This commit is contained in:
rallytime 2016-07-18 15:57:16 -06:00
parent 4d9ca1ebf9
commit b131f905b6

View File

@ -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