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 <gentoo-commits+bounces-407425-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RZTuB-0002BI-Sh
	for garchives@archives.gentoo.org; Sat, 10 Dec 2011 20:52:24 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3FACF21C037;
	Sat, 10 Dec 2011 20:52:16 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 0FDCE21C037
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Dec 2011 20:52:15 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5ED191B4010
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Dec 2011 20:52:15 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id A1F5180042
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Dec 2011 20:52:14 +0000 (UTC)
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org>
Message-ID: <6163432c090c5e4959d8b09d7e6cf8a3bfc415eb.zmedico@gentoo>
Subject: [gentoo-commits] proj/portage:master commit in: bin/
X-VCS-Repository: proj/portage
X-VCS-Files: bin/repoman
X-VCS-Directories: bin/
X-VCS-Committer: zmedico
X-VCS-Committer-Name: Zac Medico
X-VCS-Revision: 6163432c090c5e4959d8b09d7e6cf8a3bfc415eb
Date: Sat, 10 Dec 2011 20:52:14 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 748dad74-702e-4a37-b08f-b7986c1ef54f
X-Archives-Hash: 7ef39171ce186e7e7e96f9369ebb66d4

commit:     6163432c090c5e4959d8b09d7e6cf8a3bfc415eb
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 20:52:07 2011 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 20:52:07 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a=
=3Dcommit;h=3D6163432c

repoman: eliminate eclass_db variable

---
 bin/repoman |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/repoman b/bin/repoman
index 43270f9..5924ba9 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -583,8 +583,7 @@ portdb =3D trees[root]['porttree'].dbapi
 # that are specified in layout.conf.
 repodir =3D os.path.realpath(portdir_overlay)
 repo_config =3D repoman_settings.repositories.get_repo_for_location(repo=
dir)
-eclass_db =3D portdb.repositories.get_repo_for_location(repodir).eclass_=
db
-portdb.porttrees =3D list(eclass_db.porttrees)
+portdb.porttrees =3D list(repo_config.eclass_db.porttrees)
 portdir =3D portdb.porttrees[0]
=20
 # In order to disable manifest signatures, repos may set
@@ -672,7 +671,7 @@ logging.info('PORTDIR_OVERLAY =3D "%s"' % env['PORTDI=
R_OVERLAY'])
 env['FEATURES'] =3D env.get('FEATURES', '') + ' -unknown-features-warn'
=20
 categories =3D []
-for path in eclass_db.porttrees:
+for path in repo_config.eclass_db.porttrees:
 	categories.extend(portage.util.grabfile(
 		os.path.join(path, 'profiles', 'categories')))
 repoman_settings.categories =3D frozenset(