From 82755ebbc2a8540c14681576f429e2a88860a0ee Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 6 Feb 2017 12:49:21 -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: I9bdf6a792cb18432268e6aaaa509e25119775597 --- oslo_rootwrap/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo_rootwrap/version.py b/oslo_rootwrap/version.py index 23c0f09..9cfbb7d 100644 --- a/oslo_rootwrap/version.py +++ b/oslo_rootwrap/version.py @@ -15,4 +15,4 @@ import pbr.version -version_info = pbr.version.VersionInfo('oslo_rootwrap') +version_info = pbr.version.VersionInfo('oslo.rootwrap')