From patchwork Thu Oct 16 07:05:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 400148 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id F09581400D2 for ; Thu, 16 Oct 2014 18:06:17 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BF615A7401; Thu, 16 Oct 2014 09:06:12 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id amZYdpQdPC+n; Thu, 16 Oct 2014 09:06:12 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 152F4A73F9; Thu, 16 Oct 2014 09:06:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EE67FA73F9 for ; Thu, 16 Oct 2014 09:06:06 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hz++2DUad09w for ; Thu, 16 Oct 2014 09:06:06 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-oi0-f73.google.com (mail-oi0-f73.google.com [209.85.218.73]) by theia.denx.de (Postfix) with ESMTPS id 469B8A73F5 for ; Thu, 16 Oct 2014 09:06:03 +0200 (CEST) Received: by mail-oi0-f73.google.com with SMTP id u20so428181oif.4 for ; Thu, 16 Oct 2014 00:06:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PYGYilXQaNfzx6IsHv+1yt9rEU7+Lz6yyKuHQ3Dmip0=; b=aOjtOrdSh54+7U9mE6MvEixgNeNI+OknjLOHRmWKx8KAAMW6ohJVP1Euqlpueqosf3 ujIiklFZaLNlZxNJM0X1AjEB7GC8JKVzXJIoxT/pFk5CWEarUSZO46NmT2BEJE4pO1Kl znTgiir2JPCzSYwt1AR8ePuE0ll1GKHmxCxwzbocWAWI8EWyO7+xG4HXBubHR6Kl/+cC QKnnJh4rLHv8Q7i+L5eCnjCpqsJe53/zoeiBmZOPjR+DqKP0PDw5Hg3YkX3lIHsK5RNM yYOHMRPxDqB9/yNoRpviBF0GZ3tAfwWEByvP/YV0R1eoFnCNVFPGGTpnXIohrDO7T3J/ AJJw== X-Gm-Message-State: ALoCoQksT6YosfpupeZ+CrYEY8lK0uB3NY3tZfMOA7acpSKJwmba9+m4J5XtGEt7r+7kFGaEvY5q X-Received: by 10.42.138.2 with SMTP id a2mr2344473icu.22.1413443161704; Thu, 16 Oct 2014 00:06:01 -0700 (PDT) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id e24si1073647yhe.3.2014.10.16.00.06.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Oct 2014 00:06:01 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id SFqjqzgQ.1; Thu, 16 Oct 2014 00:06:01 -0700 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id F4217221078; Thu, 16 Oct 2014 01:06:00 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Thu, 16 Oct 2014 01:05:55 -0600 Message-Id: <1413443156-28396-1-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 Subject: [U-Boot] [PATCH 1/2] buildman: Fix repeating board list with -l X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Ensure that we don't print duplicate board names when -l is used. Signed-off-by: Simon Glass Reported-by: Albert Aribaud --- tools/buildman/builder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index 8155c16..7002034 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -918,7 +918,8 @@ class Builder: if self._list_error_boards: names = [] for board in line_boards[line]: - names.append(board.target) + if not board.target in names: + names.append(board.target) names_str = '(%s) ' % ','.join(names) else: names_str = ''