diff options
| author | Sean McGinnis <sean.mcginnis@gmail.com> | 2018-04-10 14:32:33 -0500 |
|---|---|---|
| committer | Akihiro Motoki <amotoki@gmail.com> | 2018-04-15 12:23:06 +0900 |
| commit | d60141525987bc973802b4ec9a3b027e071d1966 (patch) | |
| tree | e04fe55e35c2291f7993d34f58c1882d29303568 /openstackclient/common | |
| parent | 972a345014a177b0db83272f609ae28a5b23cf68 (diff) | |
| download | python-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/common')
| -rw-r--r-- | openstackclient/common/extension.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openstackclient/common/extension.py b/openstackclient/common/extension.py index 139f43ab..71206618 100644 --- a/openstackclient/common/extension.py +++ b/openstackclient/common/extension.py @@ -75,8 +75,10 @@ class ListExtension(command.Lister): # by default we want to show everything, unless the # user specifies one or more of the APIs to show # for now, only identity and compute are supported. - show_all = (not parsed_args.identity and not parsed_args.compute - and not parsed_args.volume and not parsed_args.network) + show_all = (not parsed_args.identity and + not parsed_args.compute and + not parsed_args.volume and + not parsed_args.network) if parsed_args.identity or show_all: identity_client = self.app.client_manager.identity |
