Merge "Fix for building identity-api"

This commit is contained in:
Jenkins 2014-05-20 18:50:26 +00:00 committed by Gerrit Code Review
commit 8618b9aeb7
2 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ Release notes
subcommand xml output.
* ``openstack-doc-tools``: Warn about non-breaking space, enhance
-v output, special case building of localized high-availability
guide.
guide, fix for building changed identity-api repository.
* New command ``openstack-jsoncheck`` to check for niceness of JSON
files and reformat them.
* ``openstack-autohelp``: Update the default parameters. The tables

View File

@ -810,8 +810,8 @@ def build_book(book, publish_path, log_path):
stderr=subprocess.STDOUT
)
# Repository: identity-api
# Let's not check for "v3" but for the full name instead
elif book.endswith("openstack-identity-api/v3"):
elif (cfg.CONF.repo_name == "identity-api"
and book.endswith("v3")):
output = subprocess.check_output(
["bash", os.path.join(SCRIPTS_DIR, "markdown-docbook.sh"),
"identity-api-v3"],