Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45DA0C433EF for ; Tue, 10 May 2022 16:46:32 +0000 (UTC) Subject: Re: [PATCH yocto-autobuilder-helper v13] Add a banner on the old documentation docs. Script to add banners to the old docs and outdated dunfell docs To: yocto@lists.yoctoproject.org From: "Abongwa Amahnui Bonalais" X-Originating-Location: CM (154.72.153.151) X-Originating-Platform: Linux Chrome 100 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 10 May 2022 09:46:31 -0700 References: In-Reply-To: Message-ID: <7109.1652201191406393524@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="sXMM04tSnFSOwwo2CZ9C" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 10 May 2022 16:46:32 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/57051 --sXMM04tSnFSOwwo2CZ9C Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Richard, Thanks for the review >=20 > I think Quentin also mentioned that these two loop functions can be merge= d > together to form simpler code with a condition in the centre section? I'm sorry I don't understand how to implement this as I tried using a funct= ion in the code but then the dirs was modified constantly when it was not s= upposed and I did not succeed to prevent it from doing so. I will continue doing more research on how to go about it, but if you have = a method you would like me to use, I would gladly try it out. Thank you. --sXMM04tSnFSOwwo2CZ9C Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Richard, 

Thanks for the review

I think Quentin also men= tioned that these two loop functions can be merged together to form simpler code with a condition in the= centre section?

I'm sorry I don't understand how to implement this as I tried using a= function in the code but then the dirs was modified constantly when it was= not supposed and I did not succeed to prevent it from doing so.
I wil= l continue doing more research on how to go about it, but if you have a met= hod you would like me to use, I would gladly try it out.
Thank you. --sXMM04tSnFSOwwo2CZ9C--