Mercurial > hgrepos > Python > libs > ConfigMix
changeset 509:4c2517e18af0
FIX: Convert a list ito a tuple before appending it to another tuple
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 18 Dec 2021 18:36:50 +0100 |
| parents | 42935e4cb8d3 |
| children | acf1e8696d68 |
| files | configmix/config.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configmix/config.py Sat Dec 18 11:20:41 2021 +0100 +++ b/configmix/config.py Sat Dec 18 18:36:50 2021 +0100 @@ -977,7 +977,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")
