E713 test for membership should be 'not in' Signed-off-by: Radostin Stoyanov <rstoyanov1@xxxxxxxxx> --- src/virtBootstrap/sources/docker_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virtBootstrap/sources/docker_source.py b/src/virtBootstrap/sources/docker_source.py index 0eace81..572018f 100644 --- a/src/virtBootstrap/sources/docker_source.py +++ b/src/virtBootstrap/sources/docker_source.py @@ -96,7 +96,7 @@ class DockerSource(object): username=self.username, password=self.password) - if not 'Layers' in image_details or not image_details['Layers']: + if 'Layers' not in image_details or not image_details['Layers']: raise ValueError('No image layers.') # Layers are in order: -- 2.14.3 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list