mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Remove iteritems() references from github execution module
This commit is contained in:
parent
4d9ca1ebf9
commit
b131f905b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user