summaryrefslogtreecommitdiff
path: root/keystoneclient/_discover.py
diff options
context:
space:
mode:
authorNavid Pustchi <npustchi@gmail.com>2016-05-03 18:54:12 +0000
committerNavid Pustchi <npustchi@gmail.com>2016-05-04 19:45:30 +0000
commitbca112c8ba5636becd6951fbfb8cb8f2474279fe (patch)
tree9c8e9ba8f060f1f4a8f6bd3cb4101a0f9ba7e45e /keystoneclient/_discover.py
parenta9adca02dbdbf786dd7015f4d3c67c514d757423 (diff)
downloadpython-keystoneclient-bca112c8ba5636becd6951fbfb8cb8f2474279fe.tar.gz
Fixing D202 and D203 PEP257 violation.
Currently tox ignores D202 and D203. D202: No blank lines allowed after function docstring. D203: 1 blank required before class docstring. This change removes D202 and D203 ignores in tox and fix violations. Change-Id: I97ef88c9cfd56774e47f789cbbcf8ccfe85d7737
Diffstat (limited to 'keystoneclient/_discover.py')
-rw-r--r--keystoneclient/_discover.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/keystoneclient/_discover.py b/keystoneclient/_discover.py
index 568b169..a6d5727 100644
--- a/keystoneclient/_discover.py
+++ b/keystoneclient/_discover.py
@@ -75,7 +75,6 @@ def get_version_data(session, url, authenticated=None):
def normalize_version_number(version):
"""Turn a version representation into a tuple."""
-
# trim the v from a 'v2.0' or similar
try:
version = version.lstrip('v')