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: I14e802131eab4fd4c1bdb2bde91c249e18f8236a
This commit is contained in:
parent
73b68c0b27
commit
d7d497aa09
@ -15,4 +15,4 @@
|
||||
|
||||
import pbr.version
|
||||
|
||||
version_info = pbr.version.VersionInfo('oslo_config')
|
||||
version_info = pbr.version.VersionInfo('oslo.config')
|
||||
|
Loading…
Reference in New Issue
Block a user