# HG changeset patch # User Franz Glasner # Date 1639849271 -3600 # Node ID acf1e8696d68a673125c9bd88160d3595f5e9fb7 # Parent 4c2517e18af0da8fa84150072b3e735a67a80c08 FIX: Some other lists that need to converted to tuples diff -r 4c2517e18af0 -r acf1e8696d68 configmix/config.py --- a/configmix/config.py Sat Dec 18 18:36:50 2021 +0100 +++ b/configmix/config.py Sat Dec 18 18:41:11 2021 +0100 @@ -992,7 +992,7 @@ real_paths = [] for path in paths: if isinstance(path, (list, tuple)): - real_paths.append(self._path + path) + real_paths.append(self._path + tuple(path)) elif isinstance(path, dict): raise TypeError( "a `dict' is not supported in a jailed configuration") @@ -1081,7 +1081,7 @@ if self._path: new_rootpath = self._path + tuple(rootpath) else: - new_rootpath = rootpath + new_rootpath = tuple(rootpath) sjc = _JailedConfiguration(*new_rootpath) if bind_root: sjc.rebind(self._base)