diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-06-19 19:14:56 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-06-19 19:14:56 +0000 |
commit | f18797ab7d068663b37f4e25558c624f44e4b099 (patch) | |
tree | 676f5c77bdf23a3396146a0e698b69a67bcdf2c3 | |
parent | e0172be373155a55f70a28a0811440ad28b747db (diff) | |
parent | 15ea8719794a76f654ea28f530b4339f181085bc (diff) | |
download | oslo-config-f18797ab7d068663b37f4e25558c624f44e4b099.tar.gz |
Merge "Add warning about interpolating values from groups"1.4.0.0a1
-rw-r--r-- | oslo/config/cfg.py | 11 | ||||
-rw-r--r-- | tox.ini | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/oslo/config/cfg.py b/oslo/config/cfg.py index ece7916..98507b4 100644 --- a/oslo/config/cfg.py +++ b/oslo/config/cfg.py @@ -232,7 +232,16 @@ Option values may reference other values using PEP 292 string substitution:: help='Connection string for SQL database.'), ] -Note that interpolation can be avoided by using `$$`. +.. note:: + + Interpolation can be avoided by using `$$`. + +.. warning:: + + Interpolation using the values of options in groups is not yet + supported. The interpolated option must be in the DEFAULT group + (i.e., ``"$state_path"`` works but ``"$database.state_path"`` does + not). Special Handling Instructions ----------------------------- @@ -19,6 +19,9 @@ commands = [testenv:venv] commands = {posargs} +[testenv:docs] +commands = python setup.py build_sphinx + [flake8] show-source = True ignore = H305 |