mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
ffbbb5a25b
commit
6051ef4041
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ import time
|
|||
import uuid
|
||||
import yaml
|
||||
|
||||
from collections import Mapping, MutableMapping, MutableSequence
|
||||
from collections import MutableMapping, MutableSequence
|
||||
import datetime
|
||||
from functools import partial
|
||||
from random import Random, SystemRandom, shuffle
|
||||
|
@ -326,7 +326,7 @@ def combine(*terms, **kwargs):
|
|||
|
||||
dicts = []
|
||||
for t in terms:
|
||||
if isinstance(t, (MutableMapping, Mapping)):
|
||||
if isinstance(t, MutableMapping):
|
||||
dicts.append(t)
|
||||
elif isinstance(t, list):
|
||||
dicts.append(combine(*t, **kwargs))
|
||||
|
|
Loading…
Reference in a new issue