HomeSoftware Heritage

Add a simple merge_configs function in config.py

Authored by douardda on Jan 28 2019, 10:16 AM.

Description

Add a simple merge_configs function in config.py

that recursively merge 2 (config) dictionaries.
This is meant to be used to simplify a bit the config system of several
systems of the swh platform (related to T1410 and T826).

Details

Committed
douarddaJan 29 2019, 10:34 AM
Pushed
douarddaJan 29 2019, 10:36 AM
Differential Revision
D1017: Add a simple merge_configs function in config.py
Parents
rDCOREbfa22728197e: Rewrite test_config with pytest
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3782
Build 4938: test-and-build