From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SZgcL-0005op-QL for garchives@archives.gentoo.org; Wed, 30 May 2012 10:59:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1B85E05EC; Wed, 30 May 2012 10:58:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AE24AE05EC for ; Wed, 30 May 2012 10:58:57 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DFCD81B402A for ; Wed, 30 May 2012 10:58:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id BDB40E5437 for ; Wed, 30 May 2012 10:58:54 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1338375503.a432eb5c70a8d3108faa40a4725f6b2d531fc881.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/ebuildcreator.py X-VCS-Directories: roverlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: a432eb5c70a8d3108faa40a4725f6b2d531fc881 X-VCS-Branch: master Date: Wed, 30 May 2012 10:58:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 093b41e3-d4b1-4bdb-a051-e4d6d8117a73 X-Archives-Hash: ae059ad6461bc51c63cc31464c6c4a0f commit: a432eb5c70a8d3108faa40a4725f6b2d531fc881 Author: Andre Erdmann mailerd de> AuthorDate: Wed May 30 10:55:50 2012 +0000 Commit: Andr=C3=A9 Erdmann mailerd de> CommitDate: Wed May 30 10:58:23 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/R_overlay.git= ;a=3Dcommit;h=3Da432eb5c roverlay, ebuildcreator: fix imports, collect_ebuilds() returns only not = None ebuilds now --- roverlay/ebuildcreator.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roverlay/ebuildcreator.py b/roverlay/ebuildcreator.py index f439c71..f6935a8 100644 --- a/roverlay/ebuildcreator.py +++ b/roverlay/ebuildcreator.py @@ -2,8 +2,7 @@ # Copyright 2006-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 -from roverlay import ebuildjob.EbuildJob - +from roverlay.ebuildjob import EbuildJob =20 class EbuildCreator: =20 @@ -62,7 +61,8 @@ class EbuildCreator: @classmethod def collect_ebuilds ( self ): """Returns all ebuilds. (They may not be ready / TODO)""" - return [ job.get_ebuild() for job in self.ebuild_jobs ] + ebuilds =3D [ job.get_ebuild() for job in self.ebuild_jobs ] + return [ ebuild for ebuild in ebuilds if (not ebuild is None) ] =20 @classmethod def get_ebuild_header ( self, ebuild_header_file=3DNone ):