[fix] resetting some configuration fields during initialization

This commit is contained in:
Vinicius Moreira
2020-06-01 12:44:21 -03:00
parent 5901c4ceea
commit 35db5e5802
2 changed files with 2 additions and 1 deletions

View File

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

View File

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