Re: [libvirt PATCH 2/2] ci: Avoid use of magic constants

2021-09-13 Thread Beraldo Leal
On Fri, Sep 10, 2021 at 03:59:55PM +0200, Andrea Bolognani wrote: > The value 3 is the length of the "ci-" prefix, which is present > in the items returned by get_registry_images() but not in those > returned by get_dockerfiles(). > > Signed-off-by: Andrea Bolognani > --- > ci/util.py | 3 ++- >

[libvirt PATCH 2/2] ci: Avoid use of magic constants

2021-09-10 Thread Andrea Bolognani
The value 3 is the length of the "ci-" prefix, which is present in the items returned by get_registry_images() but not in those returned by get_dockerfiles(). Signed-off-by: Andrea Bolognani --- ci/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/util.py