From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 7 Jul 2016 12:17:06 -0600 Subject: [U-Boot] [PATCH 04/11] buildman: Allow the toolchain error to be suppressed In-Reply-To: <1467580467-19186-5-git-send-email-sjg@chromium.org> References: <1467580467-19186-1-git-send-email-sjg@chromium.org> <1467580467-19186-5-git-send-email-sjg@chromium.org> Message-ID: <577E9CA2.6070705@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/03/2016 03:14 PM, Simon Glass wrote: > When there are no toolchains a warning is printed. But in some cases this is > confusing, such as when the user is fetching new toolchains. > > Adjust the function to supress the warning in this case. > diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py > - def GetPathList(self): > + def GetPathList(self, show_warning=True): > """Get a list of available toolchain paths > > + Args: > + show_warning: True to show a warning if there are no tool chains. I don't see the new parameter being used anywhere?