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: Ief1b4cf71bb0830160ff91b0d359042618038931
This commit is contained in:
parent
b151304966
commit
bea9341b87
@ -15,4 +15,4 @@
|
||||
|
||||
import pbr.version
|
||||
|
||||
version_info = pbr.version.VersionInfo('oslo_log')
|
||||
version_info = pbr.version.VersionInfo('oslo.log')
|
||||
|
Loading…
Reference in New Issue
Block a user