Re: [libvirt PATCH 3/4] ci: list-images: Split some generic logic to a util module

2021-02-16 Thread Andrea Bolognani
On Wed, 2021-02-10 at 18:24 +0100, Erik Skultety wrote: > +++ b/ci/list-images.py > @@ -1,29 +1,32 @@ > #!/usr/bin/env python3 > > -import json > -import urllib.request as urllib > +import containers.util as util As we add more Python code here, I think it makes sense to have a single util

[libvirt PATCH 3/4] ci: list-images: Split some generic logic to a util module

2021-02-10 Thread Erik Skultety
Parts of the code can be reused by another registry checker script introduced in the next patch. Signed-off-by: Erik Skultety --- ci/containers/util.py | 25 + ci/list-images.py | 43 +++ 2 files changed, 48 insertions(+), 20