diff --git a/CHANGELOG.md b/CHANGELOG.md index f3f02e6a..edd1a7dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [0.9.5] 2020 ### Fixes +- resetting some configuration fields during initialization - Arch - not checking if **pacman-mirrors** is available before starting to download repository packages (when multi-threaded download is enabled) [#117](https://github.com/vinifmor/bauh/issues/117) diff --git a/bauh/commons/util.py b/bauh/commons/util.py index 4b873f7e..ec6bb050 100644 --- a/bauh/commons/util.py +++ b/bauh/commons/util.py @@ -3,7 +3,7 @@ import collections def deep_update(source: dict, overrides: dict): for key, value in overrides.items(): - if isinstance(value, collections.Mapping) and value: + if isinstance(value, dict): returned = deep_update(source.get(key, {}), value) source[key] = returned else: