summaryrefslogtreecommitdiff
path: root/cinderclient/__init__.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-05-18 09:13:05 -0700
committerMonty Taylor <mordred@inaugust.com>2013-05-20 14:32:22 -0400
commitaa2808337b5fd1e585a38b16eff7a495f1ff99f4 (patch)
treef56ad7ea19e89b99ffd92fec41f6fdfbb1711cfb /cinderclient/__init__.py
parent24b4039bae557a8f29be783c3fdd3f9f148c4b0e (diff)
downloadpython-cinderclient-aa2808337b5fd1e585a38b16eff7a495f1ff99f4.tar.gz
Migrate to pbr.
Fixes bug 1179007. Change-Id: I66b78ec4b5ba70a1bf1e375a5d1b7575a1879730
Diffstat (limited to 'cinderclient/__init__.py')
-rw-r--r--cinderclient/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/cinderclient/__init__.py b/cinderclient/__init__.py
index 6f6043c..5d43513 100644
--- a/cinderclient/__init__.py
+++ b/cinderclient/__init__.py
@@ -14,9 +14,11 @@
# License for the specific language governing permissions and limitations
# under the License.
-from cinderclient.openstack.common import version
+__all__ = ['__version__']
-version_info = version.VersionInfo('python-cinderclient')
+import pbr.version
+
+version_info = pbr.version.VersionInfo('python-cinderclient')
# We have a circular import problem when we first run python setup.py sdist
# It's harmless, so deflect it.
try: