diff options
author | Monty Taylor <mordred@inaugust.com> | 2013-05-18 09:13:05 -0700 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2013-05-20 14:32:22 -0400 |
commit | aa2808337b5fd1e585a38b16eff7a495f1ff99f4 (patch) | |
tree | f56ad7ea19e89b99ffd92fec41f6fdfbb1711cfb /cinderclient/__init__.py | |
parent | 24b4039bae557a8f29be783c3fdd3f9f148c4b0e (diff) | |
download | python-cinderclient-aa2808337b5fd1e585a38b16eff7a495f1ff99f4.tar.gz |
Migrate to pbr.
Fixes bug 1179007.
Change-Id: I66b78ec4b5ba70a1bf1e375a5d1b7575a1879730
Diffstat (limited to 'cinderclient/__init__.py')
-rw-r--r-- | cinderclient/__init__.py | 6 |
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: |