Mercurial > hgrepos > Python > libs > ConfigMix
view configmix/constants.py @ 321:7a0f3c256cf4
FIX: Python2 compatibility: keyword arguments after *args not allowed: use **kwds and manual retrieval with .pop() instead
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 06 May 2021 11:06:50 +0200 |
| parents | f529ca46dd50 |
| children | dd454e1efea4 |
line wrap: on
line source
# -*- coding: utf-8 -*- # :- # :Copyright: (c) 2015-2021, Franz Glasner. All rights reserved. # :License: BSD-3-Clause. See LICENSE.txt for details. # :- """Some important public contants """ from .compat import u COMMENTS = [ u("__comment"), u("__doc"), ] """Prefixes for comment configuration keys that are to be handled as comments """ DIR_PREFIX = u("<dir>") """Prefix for configuration values to read other configuration files from given directory """ 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") """Special internal namespace used for implementation of tree `references` """
