From d7d497aa097795bcb95e7ec87fbddea099e131e2 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: I14e802131eab4fd4c1bdb2bde91c249e18f8236a --- oslo_config/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo_config/version.py b/oslo_config/version.py index 14f05903..7569580b 100644 --- a/oslo_config/version.py +++ b/oslo_config/version.py @@ -15,4 +15,4 @@ import pbr.version -version_info = pbr.version.VersionInfo('oslo_config') +version_info = pbr.version.VersionInfo('oslo.config')