summaryrefslogtreecommitdiff
path: root/openstackclient/network
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/network
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/network')
-rw-r--r--openstackclient/network/v2/router.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/network/v2/router.py b/openstackclient/network/v2/router.py
index caf3236a..f0a51967 100644
--- a/openstackclient/network/v2/router.py
+++ b/openstackclient/network/v2/router.py
@@ -86,8 +86,8 @@ def _get_attrs(client_manager, parsed_args):
attrs['distributed'] = False
if parsed_args.distributed:
attrs['distributed'] = True
- if ('availability_zone_hints' in parsed_args
- and parsed_args.availability_zone_hints is not None):
+ if ('availability_zone_hints' in parsed_args and
+ parsed_args.availability_zone_hints is not None):
attrs['availability_zone_hints'] = parsed_args.availability_zone_hints
if parsed_args.description is not None:
attrs['description'] = parsed_args.description