Updated openstack/openstack

Project: openstack/openstack-doc-tools  1b5f0b0360cfdcd9f23d2b083f9fce03b38661e1

[commands] extract correct version string when client is deprecated

With the deprecation of python-keystoneclient the output of keystone
--version changed to:

DeprecationWarning: The keystone CLI is deprecated in favor of
python-openstackclient. For a Python library, continue using
python-keystoneclient. 'python-keystoneclient.', DeprecationWarning)
1.3.0

Because of that it is necessary to only handle the last line of the
output to extract the version string.

Change-Id: Ibdfaa1de4f1c8880ce1a049fec9bea3004c11fea
This commit is contained in:
Jenkins
2015-03-29 15:28:43 +00:00
committed by Gerrit Code Review
parent 53160dddb3
commit 2afae3f54d