mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #51454 from terminalmage/fix-deprecation-warning
Fix deprecation warning in nested outputter
This commit is contained in:
commit
588cb8719c
1 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,11 @@ import salt.utils.color
|
|||
import salt.utils.odict
|
||||
import salt.utils.stringutils
|
||||
from salt.ext import six
|
||||
from collections import Mapping
|
||||
|
||||
try:
|
||||
from collections.abc import Mapping
|
||||
except ImportError:
|
||||
from collections import Mapping
|
||||
|
||||
|
||||
class NestDisplay(object):
|
||||
|
|
Loading…
Add table
Reference in a new issue