1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Revert accidental addition of Mapping in #37741 (#37939)

This commit is contained in:
Matt Martz 2018-03-26 13:57:56 -05:00 committed by GitHub
parent ffbbb5a25b
commit 6051ef4041
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))