Mercurial > hgrepos > Python > libs > ConfigMix
diff configmix/config.py @ 329:d81d2cdf4925
FIX: Handle the unquoting of namespaces within Configuration.getvar() properly.
BUGS: The "ref" namespace is handled specially and not yet compatible with
escaping some character of the "ref:" marker.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 07 May 2021 09:18:41 +0200 |
| parents | b7abfbfe806d |
| children | 5ec0ae3bb8db |
line wrap: on
line diff
--- a/configmix/config.py Thu May 06 22:58:10 2021 +0200 +++ b/configmix/config.py Fri May 07 09:18:41 2021 +0200 @@ -237,7 +237,7 @@ if len(nameparts) == 1: return (None, s, ) else: - return (nameparts[0], nameparts[1], ) + return (self.unquote(nameparts[0]), nameparts[1], ) def _split_filters(self, s): nameparts = s.split(self._FILTER_SEPARATOR)
