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: I6a4c2875d45609c5bc7326273a2e9b45fde6c085
This commit is contained in:
parent
eeb787db74
commit
a27d1edb4f
@ -15,4 +15,4 @@
|
||||
|
||||
import pbr.version
|
||||
|
||||
version_info = pbr.version.VersionInfo('oslo_cache')
|
||||
version_info = pbr.version.VersionInfo('oslo.cache')
|
||||
|
Loading…
x
Reference in New Issue
Block a user