summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavanum Srinivas <davanum@gmail.com>2017-02-06 12:49:21 -0500
committerDavanum Srinivas <davanum@gmail.com>2017-02-06 12:49:21 -0500
commit82755ebbc2a8540c14681576f429e2a88860a0ee (patch)
tree5cefa2fc042e6fdc2fb965c0b74b8eb82064382f
parent458d79b61abb1a9ad36ce4868cf248ddb21c80a7 (diff)
downloadoslo-rootwrap-82755ebbc2a8540c14681576f429e2a88860a0ee.tar.gz
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
-rw-r--r--oslo_rootwrap/version.py2
1 files changed, 1 insertions, 1 deletions
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')