From b7dbb0a921e7cc3147b19bbd488b9857784f1063 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Mon, 6 Feb 2017 16:22:08 +0000 Subject: [PATCH] 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 --- kolla/__init__.py | 2 +- kolla/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kolla/__init__.py b/kolla/__init__.py index 8cc4759c03..255a27b784 100644 --- a/kolla/__init__.py +++ b/kolla/__init__.py @@ -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() diff --git a/kolla/version.py b/kolla/version.py index 4430b70c55..e8a9989367 100644 --- a/kolla/version.py +++ b/kolla/version.py @@ -12,4 +12,4 @@ import pbr.version -version_info = pbr.version.VersionInfo('kolla') +version_info = pbr.version.VersionInfo('kolla-ansible')