Christian Berendt d1a9fc4f90 [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
2015-03-26 13:21:52 +01:00
..
2014-01-01 17:33:55 +01:00
2014-05-19 18:22:25 +02:00