Mercurial > hgrepos > Python > libs > ConfigMix
changeset 358:8ce46c9e70ab
Make the "u()" import in constants non exportable
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 24 Jun 2021 21:21:45 +0200 |
| parents | dd454e1efea4 |
| children | ce2a8f5a2fb2 |
| files | configmix/constants.py |
| diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/configmix/constants.py Thu Jun 24 21:20:37 2021 +0200 +++ b/configmix/constants.py Thu Jun 24 21:21:45 2021 +0200 @@ -7,38 +7,38 @@ """ -from .compat import u +from .compat import u as _u COMMENTS = [ - u("__comment"), - u("__doc"), + _u("__comment"), + _u("__doc"), ] """Prefixes for comment configuration keys that are to be handled as comments """ -DIR_PREFIX = u("<dir>") +DIR_PREFIX = _u("<dir>") """Prefix for configuration values to read other configuration files from given directory """ -DEL_VALUE = u("{{::DEL::}}") +DEL_VALUE = _u("{{::DEL::}}") """Value for configuration items to signal that the corresponding key-value is to be deleted when configurations are merged """ -REF_NAMESPACE = u("ref") +REF_NAMESPACE = _u("ref") """Special internal namespace used for implementation of tree `references` """ -NONE_FILTER = u("None") +NONE_FILTER = _u("None") """The public name of the special `None` filter""" -EMPTY_FILTER = u("Empty") +EMPTY_FILTER = _u("Empty") """The public name of the special `None` filter"""
