summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-06-19 19:14:56 +0000
committerGerrit Code Review <review@openstack.org>2014-06-19 19:14:56 +0000
commitf18797ab7d068663b37f4e25558c624f44e4b099 (patch)
tree676f5c77bdf23a3396146a0e698b69a67bcdf2c3
parente0172be373155a55f70a28a0811440ad28b747db (diff)
parent15ea8719794a76f654ea28f530b4339f181085bc (diff)
downloadoslo-config-f18797ab7d068663b37f4e25558c624f44e4b099.tar.gz
Merge "Add warning about interpolating values from groups"1.4.0.0a1
-rw-r--r--oslo/config/cfg.py11
-rw-r--r--tox.ini3
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
-----------------------------
diff --git a/tox.ini b/tox.ini
index ebfdcfc..52c13cc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,6 +19,9 @@ commands =
[testenv:venv]
commands = {posargs}
+[testenv:docs]
+commands = python setup.py build_sphinx
+
[flake8]
show-source = True
ignore = H305