pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz)
We need to pass into VersionInfo what one would expect from running: setup.py --name Right now we pass in say oslo_context and pbr fails if there is no .git in the python source tree Closes-Bug: #1662266 Change-Id: Ia1495af62a02410607c27f443af59dc20b052072
This commit is contained in:
parent
f20e08e3ed
commit
1cb766c0fc
@ -15,4 +15,4 @@
|
||||
|
||||
import pbr.version
|
||||
|
||||
version_info = pbr.version.VersionInfo('oslo_middleware')
|
||||
version_info = pbr.version.VersionInfo('oslo.middleware')
|
||||
|
Loading…
Reference in New Issue
Block a user