# HG changeset patch # User Goffi # Date 1457521895 -3600 # Node ID d1615f79dfe8ef782624128b8ddfff073df5976f # Parent 7c97554a84d53d39c443996acbbe41fdf3a4b588 core (tools/config): fixed fixConfigOption: C.DEFAULT_CONFIG was used so the default values were written if not set in the config file used, resulting in a overriding of values set in config files of higher level (e.g. ~/.config/sat/sat.conf could override /etc/sat.conf values). diff -r 7c97554a84d5 -r d1615f79dfe8 src/tools/config.py --- a/src/tools/config.py Wed Mar 09 12:08:31 2016 +0100 +++ b/src/tools/config.py Wed Mar 09 12:11:35 2016 +0100 @@ -43,7 +43,7 @@ @param value (str): the new value @param silent (boolean): toggle logging output (must be True when called from sat.sh) """ - config = SafeConfigParser(defaults=C.DEFAULT_CONFIG) + config = SafeConfigParser() target_file = None for file_ in C.CONFIG_FILES[::-1]: # we will eventually update the existing file with the highest priority, if it's a user personal file...