Get VersionInfo of "osc-lib"

Currently this package declares version of "python-openstackclient"
instead of his own version.

Change-Id: Ia6877bc3bb945cc59e92698943e8f9eb6fbf7df9
This commit is contained in:
Alexander Tsamutali 2016-06-29 20:06:25 +03:00
parent 7a5987cacf
commit 812e0741f5

View File

@ -15,7 +15,7 @@ __all__ = ['__version__']
import pbr.version
version_info = pbr.version.VersionInfo('python-openstackclient')
version_info = pbr.version.VersionInfo('osc-lib')
try:
__version__ = version_info.version_string()
except AttributeError: