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: I8d4088cbb5edee6fae1fbf7716461edb0f6fcf40
This commit is contained in:
parent
2208a539ee
commit
22c766d4bf
@ -15,4 +15,4 @@
|
||||
|
||||
import pbr.version
|
||||
|
||||
version_info = pbr.version.VersionInfo('oslo_privsep')
|
||||
version_info = pbr.version.VersionInfo('oslo.privsep')
|
||||
|
Loading…
Reference in New Issue
Block a user