Skip to content

Commit

Permalink
isolated salt.utils.json changes to saltstack#55660
Browse files Browse the repository at this point in the history
  • Loading branch information
Akm0d committed Dec 17, 2019
1 parent 8c99fe9 commit 6e3523d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion salt/modules/saltcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
import logging
import os
import time
from salt.utils.json import loads, dumps
from json import loads, dumps

# Import Salt libs
import salt.utils.files
Expand Down
3 changes: 2 additions & 1 deletion salt/states/netsnmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
import logging
log = logging.getLogger(__name__)

from json import loads, dumps

# salt lib
from salt.utils.json import loads, dumps
from salt.ext import six
# import NAPALM utils
import salt.utils.napalm
Expand Down
2 changes: 1 addition & 1 deletion salt/states/netusers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@

# Python std lib
from copy import deepcopy
from json import loads, dumps

# salt lib
from salt.utils.json import loads, dumps
from salt.ext import six
# import NAPALM utils
import salt.utils.napalm
Expand Down
2 changes: 1 addition & 1 deletion salt/states/probes.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
log = logging.getLogger(__name__)

from copy import deepcopy
from json import loads, dumps

# salt modules
from salt.utils.json import loads, dumps
from salt.ext import six
# import NAPALM utils
import salt.utils.napalm
Expand Down
2 changes: 1 addition & 1 deletion salt/states/zabbix_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'''
from __future__ import absolute_import, print_function, unicode_literals
from salt.utils.json import loads, dumps
from json import loads, dumps
from copy import deepcopy
from salt.ext import six

Expand Down
2 changes: 1 addition & 1 deletion salt/states/zabbix_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Import Python libs
from __future__ import absolute_import, print_function, unicode_literals
from salt.utils.json import loads, dumps
from json import loads, dumps
from copy import deepcopy

# Import Salt libs
Expand Down

0 comments on commit 6e3523d

Please sign in to comment.