Fix for building identity-api

Patch https://review.openstack.org/#/c/94194/ changes the location
of the v3 API, handle the new directory.

Change-Id: Iadadec17d525acede71853c00ec4f075c75c0a05
This commit is contained in:
Andreas Jaeger 2014-05-20 19:59:02 +02:00
parent 4617fb88dc
commit ec411ebf8e
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"],