diff --git a/lib/ansible/plugins/filter/core.py b/lib/ansible/plugins/filter/core.py index f194482a91e..8b9ff7a4c9e 100644 --- a/lib/ansible/plugins/filter/core.py +++ b/lib/ansible/plugins/filter/core.py @@ -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))