From bea9341b87e2687c3aa80491b96d4e51b66e1577 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 6 Feb 2017 12:49:23 -0500 Subject: [PATCH] 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 --- oslo_log/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo_log/version.py b/oslo_log/version.py index 7678b983..b073ae4d 100644 --- a/oslo_log/version.py +++ b/oslo_log/version.py @@ -15,4 +15,4 @@ import pbr.version -version_info = pbr.version.VersionInfo('oslo_log') +version_info = pbr.version.VersionInfo('oslo.log')