diff options
author | Davanum Srinivas <davanum@gmail.com> | 2017-02-06 12:49:22 -0500 |
---|---|---|
committer | Davanum Srinivas <davanum@gmail.com> | 2017-02-06 12:49:22 -0500 |
commit | 608114fbfef3f0a30a71710fda1009bb4ed19dcc (patch) | |
tree | 11ce7f4d3eebe66bdc02b914829be32276c4f29f | |
parent | 96432cbe4d3ed7c6ea80c70786f8b406a488f5db (diff) | |
download | oslo-context-608114fbfef3f0a30a71710fda1009bb4ed19dcc.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: Ia9da53a5d617d1790c7ed642d114b723e04bddb7
-rw-r--r-- | oslo_context/version.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_context/version.py b/oslo_context/version.py index 62ce6e6..19e4fb1 100644 --- a/oslo_context/version.py +++ b/oslo_context/version.py @@ -15,4 +15,4 @@ import pbr.version -version_info = pbr.version.VersionInfo('oslo_context') +version_info = pbr.version.VersionInfo('oslo.context') |