Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 25, 2022
1 parent af12539 commit ab89777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def update(data, update_data, overwrite=True):
if value is None:
if key in data:
del data[key]
elif isinstance(value, collections.Mapping):
elif isinstance(value, collections.abc.Mapping):
sub_data = data.get(key, {})
if sub_data is not None:
data[key] = update(sub_data, value, overwrite)
Expand Down

0 comments on commit ab89777

Please sign in to comment.