[virt-tools-list] [virt-bootstrap] [PATCH 4/7] pylint: Resolve - two spaces before comment
Cedric Bosdonnat
cbosdonnat at suse.com
Thu Mar 1 09:26:34 UTC 2018
On Wed, 2018-02-28 at 00:11 +0000, Radostin Stoyanov wrote:
> E261 at least two spaces before inline comment
>
> Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
> ---
> 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 572018f..30a3e2e 100644
> --- a/src/virtBootstrap/sources/docker_source.py
> +++ b/src/virtBootstrap/sources/docker_source.py
> @@ -104,7 +104,7 @@ class DockerSource(object):
> # Ref: https://github.com/containers/image/blob/master/image/oci.go
> for layer_digest in image_details['Layers']:
> sum_type, layer_sum = layer_digest.split(':')
> - self.checksums.append([sum_type, layer_sum]) # Store checksums
> + self.checksums.append([sum_type, layer_sum]) # Store checksums
>
> # Layers are tar files with hashsum used as name
> file_path = os.path.join(self.images_dir, layer_sum + '.tar')
ACK
--
Cedric
More information about the virt-tools-list
mailing list