diff options
author | Radostin Stoyanov <rstoyanov1@gmail.com> | 2017-07-04 13:46:41 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cbosdonnat@suse.com> | 2017-07-04 16:13:51 +0200 |
commit | 7daf37d2a5155e742b3c4daea24923e4a7b7d855 (patch) | |
tree | aed5516ff2efcfea8d47c289bbd3c4e6fcc94d46 /src/virtBootstrap/__init__.py | |
parent | 970b4247bd9a39d36ade980967371e4d1bc3f893 (diff) | |
download | virt-bootstrap.git-7daf37d2a5155e742b3c4daea24923e4a7b7d855.tar.gz virt-bootstrap.git-7daf37d2a5155e742b3c4daea24923e4a7b7d855.tar.xz virt-bootstrap.git-7daf37d2a5155e742b3c4daea24923e4a7b7d855.zip |
Improve URI parse of DockerSource
Decrease the number of instance attributes of class DockerSource.
Since variables "image" and "registry" are only used to create valid
Docker URI they could be used as local variables instead of instance
attributes to improve encapsulation.
Add comments to improve readability.
Fix problem with invalid docker URLs
Diffstat (limited to 'src/virtBootstrap/__init__.py')
0 files changed, 0 insertions, 0 deletions