Browse Source

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: I9ff67b5c8a82c5efac155b228494f0a63a6cbf10
changes/11/429811/1
Davanum Srinivas 5 years ago
parent
commit
8b68459985
  1. 2
      oslo_service/version.py

2
oslo_service/version.py

@ -15,4 +15,4 @@
import pbr.version
version_info = pbr.version.VersionInfo('oslo_service')
version_info = pbr.version.VersionInfo('oslo.service')
Loading…
Cancel
Save