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:
parent
7a5987cacf
commit
812e0741f5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user