Rename __version__ to version

This patch renames the module's __version__ var to
version.
This commit is contained in:
Walter A. Boring IV 2019-07-01 13:14:45 -07:00
parent b4bbb15e78
commit 7dae6c4f2a
2 changed files with 6 additions and 21 deletions

View File

@ -1,29 +1,14 @@
CHANGES
=======
v0.1.4
------
* more
* more readthedocs.yml
* try and fix readthedocs.yml
* Added .readthedocs.yml
* Fixed more README issues
v0.1.3
------
* Updated README for requirements and install
v0.1.2
------
* Release cleanup
v0.1.1
------
* Update setting version from pbr
v0.1.0
------
* Update some documentation
* remove manifest
* Fix pep8

View File

@ -20,6 +20,6 @@ __email__ = 'waboring@hemna.com'
version_info = pbr.version.VersionInfo('rbd-iscsi-client')
try:
__version__ = version_info.version_string()
version = version_info.version_string()
except AttributeError:
__version__ = None
version = None