From c675dbbab6193b7031d4edcb3aff3b7ecd5727a6 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sat, 26 Aug 2017 21:42:13 +0100 Subject: Update doc strings These documentation can be seen using: $ pydoc virtBootstrap --- src/virtBootstrap/utils.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/virtBootstrap/utils.py') diff --git a/src/virtBootstrap/utils.py b/src/virtBootstrap/utils.py index ac9e4ec..3fb10a7 100644 --- a/src/virtBootstrap/utils.py +++ b/src/virtBootstrap/utils.py @@ -335,7 +335,7 @@ def untar_layers(layers_list, dest_dir, progress): def get_mime_type(path): """ - Get the mime type of a file. + Get the mime type of a file. """ proc = subprocess.Popen( ["/usr/bin/file", "--mime-type", path], @@ -389,10 +389,6 @@ def is_new_layer_message(line): """ Return T/F whether a line in skopeo's progress is indicating start the process of new image layer. - - Reference: - - https://github.com/containers/image/blob/master/copy/copy.go#L464 - - https://github.com/containers/image/blob/master/copy/copy.go#L459 """ return line.startswith('Copying blob') or line.startswith('Skipping fetch') @@ -401,9 +397,6 @@ def is_layer_config_message(line): """ Return T/F indicating whether the message from skopeo copies the manifest file. - - Reference: - - https://github.com/containers/image/blob/master/copy/copy.go#L414 """ return line.startswith('Copying config') -- cgit