[virt-tools-list] [virt-bootstrap] [PATCH 4/7] pylint: Resolve - two spaces before comment

Radostin Stoyanov rstoyanov1 at gmail.com
Wed Feb 28 00:11:02 UTC 2018


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')
-- 
2.14.3




More information about the virt-tools-list mailing list