summaryrefslogtreecommitdiffstats
path: root/src/virtBootstrap/virt_bootstrap.py
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov1@gmail.com>2017-07-04 16:24:18 +0100
committerCédric Bosdonnat <cbosdonnat@suse.com>2017-07-05 09:43:54 +0200
commitc1cdbeee437c5c82d9928e73211f6bac91259dcc (patch)
tree50d779c734952946655c42d6c8edc10252e035e0 /src/virtBootstrap/virt_bootstrap.py
parent847886deea03e95d35afec925a598a498d68265c (diff)
downloadvirt-bootstrap.git-c1cdbeee437c5c82d9928e73211f6bac91259dcc.tar.gz
virt-bootstrap.git-c1cdbeee437c5c82d9928e73211f6bac91259dcc.tar.xz
virt-bootstrap.git-c1cdbeee437c5c82d9928e73211f6bac91259dcc.zip
Compact layers' details passed to extract methods
Improve maintainability by putting layers' digest, sum_type, size and file_path in a list which is then passed to extract methods. This change replaces the function get_layer_info(). Reduce the amount of duplicated code by taking out the logging calls in a method.
Diffstat (limited to 'src/virtBootstrap/virt_bootstrap.py')
0 files changed, 0 insertions, 0 deletions