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 1Q0Gko-0007mr-FQ for garchives@archives.gentoo.org; Thu, 17 Mar 2011 17:12:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DDD01C01A; Thu, 17 Mar 2011 17:12:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CAAFA1C01A for ; Thu, 17 Mar 2011 17:12:46 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C7451B40AA for ; Thu, 17 Mar 2011 17:12:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 848AE80073 for ; Thu, 17 Mar 2011 17:12:45 +0000 (UTC) From: "Nirbheek Chauhan" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nirbheek Chauhan" Message-ID: Subject: [gentoo-commits] proj/gnome:master commit in: scripts/ X-VCS-Repository: proj/gnome X-VCS-Files: scripts/slot_rindex.py X-VCS-Directories: scripts/ X-VCS-Committer: nirbheek X-VCS-Committer-Name: Nirbheek Chauhan X-VCS-Revision: aa007a67109846a96f50fc06ca7bcba6d1f32055 Date: Thu, 17 Mar 2011 17:12:45 +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: X-Archives-Hash: 571e1f595f9d335bee7ef12d340dcc4c commit: aa007a67109846a96f50fc06ca7bcba6d1f32055 Author: Nirbheek Chauhan gentoo org> AuthorDate: Thu Mar 17 17:04:13 2011 +0000 Commit: Nirbheek Chauhan gentoo org> CommitDate: Thu Mar 17 17:04:13 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3Daa007a67 scripts/slot_rindex.py: print nothing if there's no packages --- scripts/slot_rindex.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/slot_rindex.py b/scripts/slot_rindex.py index 0612372..bf5f834 100755 --- a/scripts/slot_rindex.py +++ b/scripts/slot_rindex.py @@ -45,12 +45,12 @@ def rdeps_with_slot(slot_rdeps, slot=3DNone): """ Prints a list of rev-deps which depend on the specified package and = slot """ - print "All packages:" pkg_maints =3D {} pkg_herds =3D {} if not slot_rdeps.has_key(slot): # No rdeps using the given slot return + print "All packages:" for pkg in slot_rdeps[slot]: pkg_md =3D MetaDataXML(get_md_path(pkg), get_herds()) for herd in pkg_md.herds():