# HG changeset patch # User Franz Glasner # Date 1639752993 -3600 # Node ID 008b35666a436cd88cfd6419c6d2e86d9b62e9af # Parent 0259bd52172977cbd8c8dbc47c6670ddb50d4dde Use the new contant _EMPTY_STR where appropriate diff -r 0259bd521729 -r 008b35666a43 configmix/config.py --- a/configmix/config.py Fri Dec 17 15:55:51 2021 +0100 +++ b/configmix/config.py Fri Dec 17 15:56:33 2021 +0100 @@ -784,7 +784,7 @@ res_append(p[9:]) else: raise ValueError("unknown quote syntax string: {}".format(s)) - return ''.join(res) + return klass._EMPTY_STR.join(res) def jailed(self, rootpath=None, root=None, bind_root=True): """Return a "jailed" configuration of the current configuration. @@ -866,7 +866,7 @@ [Configuration.quote(p) for p in path]) \ + Configuration._HIER_SEPARATOR else: - self._pathstr = '' + self._pathstr = Configuration._EMPTY_STR @property def base(self):