diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2019-05-29 17:31:49 +0100 |
---|---|---|
committer | Eric Fried <openstack@fried.cc> | 2019-06-24 14:24:06 -0500 |
commit | 231908a7f42b8329a58e62c8a89204fdeaa16dca (patch) | |
tree | fbefb7c9e0657afa845ff33ecba501efd575dc76 /nova/image | |
parent | 914ee91a5caedcaba64472762c9f08d7bb644d11 (diff) | |
download | nova-231908a7f42b8329a58e62c8a89204fdeaa16dca.tar.gz |
hacking: Resolve W503 (line break occurred before a binary operator)
Change-Id: I6381365ff882cf23808e8dabfce41143c5e35192
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'nova/image')
-rw-r--r-- | nova/image/glance.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/image/glance.py b/nova/image/glance.py index 39970d0498..4429253f9a 100644 --- a/nova/image/glance.py +++ b/nova/image/glance.py @@ -907,8 +907,8 @@ def _extract_attributes_v2(image, include_locations=False): 'disk_format': None, 'container_format': None, 'name': None, 'checksum': None} for name, value in image.items(): - if (name in omit_attrs - or name in include_locations_attrs and not include_locations): + if (name in omit_attrs or + name in include_locations_attrs and not include_locations): continue elif name == 'visibility': output['is_public'] = value == 'public' |