From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id EF5F87328A for ; Fri, 8 Apr 2016 07:01:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u3871BZH000813; Fri, 8 Apr 2016 08:01:53 +0100 Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sOGBLsWDMfus; Fri, 8 Apr 2016 08:01:53 +0100 (BST) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u3871mNH000834 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 8 Apr 2016 08:01:49 +0100 Message-ID: <1460098908.23253.6.camel@linuxfoundation.org> From: Richard Purdie To: Ross Burton , openembedded-core@lists.openembedded.org Date: Fri, 08 Apr 2016 08:01:48 +0100 In-Reply-To: <1460019387-1455-1-git-send-email-ross.burton@intel.com> References: <1460019387-1455-1-git-send-email-ross.burton@intel.com> X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Subject: Re: [PATCH] package: ensure do_split_packages doesn't return duplicates X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 07:01:56 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2016-04-07 at 09:56 +0100, Ross Burton wrote: > do_split_package() constructs a list of packages that were created as > it > iterates through the files, so if multiple files go into the same > package then > the package will be repeated in the output. > > Solve this by using a set() to store the created packages so that > duplicates are > ignored. Is this order sensitive? I know PACKAGES is :( Cheers, Richard