Fix commands failing when installed from sdist

pbr was failing to find a correct version when kolla-ansible was
installed via 'pip install ...'

Thanks to dhellmann for the fix.

Change-Id: I5be5fc6709c729141a43d3c69384a5f7a9b2e8f8
Closes-Bug: #1662195
This commit is contained in:
Paul Bourke 2017-02-06 16:22:08 +00:00
parent b171b6151e
commit b7dbb0a921
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ import pbr.version
__version__ = pbr.version.VersionInfo(
'kolla').version_string()
'kolla-ansible').version_string()
# Make a project global TLS trace storage repository
TLS = threading.local()

View File

@ -12,4 +12,4 @@
import pbr.version
version_info = pbr.version.VersionInfo('kolla')
version_info = pbr.version.VersionInfo('kolla-ansible')