mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Py3 compatibility fixes
This commit is contained in:
parent
aa5eaea4e3
commit
56840f9a08
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
#/usr/bin/env python
|
||||
'''
|
||||
The minionswarm script will start a group of salt minions with different ids
|
||||
on a single system to test scale capabilities
|
||||
@ -23,6 +23,8 @@ import salt
|
||||
|
||||
# Import third party libs
|
||||
import yaml
|
||||
import salt.ext.six as six
|
||||
from salt.ext.six.moves import range # pylint: disable=import-error,redefined-builtin
|
||||
|
||||
|
||||
def parse():
|
||||
@ -96,7 +98,7 @@ def parse():
|
||||
|
||||
opts = {}
|
||||
|
||||
for key, val in options.__dict__.items():
|
||||
for key, val in six.iteritems(options.__dict__):
|
||||
opts[key] = val
|
||||
|
||||
return opts
|
||||
|
Loading…
Reference in New Issue
Block a user