# HG changeset patch # User Franz Glasner # Date 1521902092 -3600 # Node ID 2ee0427911979d0ef705b19034229555f7e22da2 # Parent b35837427a7aac4ce777e76018b6820697fddc41 Don't read the first configuration file a second time. Because of merging nothing bad happend with the old implementation. diff -r b35837427a7a -r 2ee042791197 configmix/__init__.py --- a/configmix/__init__.py Sat Mar 24 15:29:13 2018 +0100 +++ b/configmix/__init__.py Sat Mar 24 15:34:52 2018 +0100 @@ -36,7 +36,7 @@ return Configuration() else: ex = merge(None, _load_cfg_from_file(files[0])) - for f in files: + for f in files[1:]: ex = merge(_load_cfg_from_file(f), ex) return Configuration(ex)