summaryrefslogtreecommitdiff
path: root/openstackclient/__init__.py
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2018-04-10 14:32:33 -0500
committerAkihiro Motoki <amotoki@gmail.com>2018-04-15 12:23:06 +0900
commitd60141525987bc973802b4ec9a3b027e071d1966 (patch)
treee04fe55e35c2291f7993d34f58c1882d29303568 /openstackclient/__init__.py
parent972a345014a177b0db83272f609ae28a5b23cf68 (diff)
downloadpython-openstackclient-d60141525987bc973802b4ec9a3b027e071d1966.tar.gz
Clean up W503 and E402 pep8 errors
pycodestyle 2.40 and later enforce these rules that were not previously enforced. Rather than just skipping them, this cleans up the trivial instances of these violations. This does also include some other updates that were not triggering errors in an attempt to keep some of the style consistent. Change-Id: Id7c0a6b8f1f835e69d844b000e3ed751852ada63 Closes-bug: #1762803
Diffstat (limited to 'openstackclient/__init__.py')
-rw-r--r--openstackclient/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/__init__.py b/openstackclient/__init__.py
index 89deee32..e6e7f7c0 100644
--- a/openstackclient/__init__.py
+++ b/openstackclient/__init__.py
@@ -11,10 +11,10 @@
# under the License.
#
-__all__ = ['__version__']
-
import pbr.version
+__all__ = ['__version__']
+
version_info = pbr.version.VersionInfo('python-openstackclient')
try:
__version__ = version_info.version_string()