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

Andrea Bolognani abologna at redhat.com
Tue Feb 16 13:42:26 UTC 2021


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 module in the top-level ci/ directory instead of one for
the ci/containers/ directory and potentially another one for the
ci/cirrus directory.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list