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
|
# Import Salt Libs
|
||||||
from salt.exceptions import CommandExecutionError
|
from salt.exceptions import CommandExecutionError
|
||||||
|
import salt.ext.six as six
|
||||||
import salt.utils.http
|
import salt.utils.http
|
||||||
|
|
||||||
# Import third party libs
|
# Import third party libs
|
||||||
@ -705,7 +706,7 @@ def get_milestone(number=None,
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
milestones = get_milestones(repo_name=repo_name, profile=profile, output=output)
|
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:
|
if val.get('title') == name:
|
||||||
ret[key] = val
|
ret[key] = val
|
||||||
return ret
|
return ret
|
||||||
|
Loading…
Reference in New Issue
Block a user