diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-04-30 06:59:20 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-04-30 06:59:20 +0000 |
commit | 67646c480c1f52ec1d4a2b77939b1e3b9fe663ee (patch) | |
tree | 1dfb247daa3eef0abe0a0ec8496dbc58ee9c7ac2 /pym/_emerge/__init__.py | |
parent | Replace references to portdbapi.eclassdb with appropriate references for the (diff) | |
download | portage-multirepo-67646c480c1f52ec1d4a2b77939b1e3b9fe663ee.tar.gz portage-multirepo-67646c480c1f52ec1d4a2b77939b1e3b9fe663ee.tar.bz2 portage-multirepo-67646c480c1f52ec1d4a2b77939b1e3b9fe663ee.zip |
Add support to repoman for using layout.conf to control which repositories
are used to satisfy dependencies. Thanks to Alistair Bush <ali_bush@g.o>
for the initial patch. See the "QA Overlay Layout support" thread on the
gentoo-dev mailing list for more information:
http://archives.gentoo.org/gentoo-dev/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml
(trunk r13295)
svn path=/main/branches/2.1.6/; revision=13466
Diffstat (limited to 'pym/_emerge/__init__.py')
-rw-r--r-- | pym/_emerge/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index e8f75c2a..63b5cb9d 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -751,7 +751,10 @@ class RootConfig(object): self.iuse_implicit = tuple(sorted(settings._get_implicit_iuse())) self.root = self.settings["ROOT"] self.setconfig = setconfig - self.sets = self.setconfig.getSets() + if setconfig is None: + self.sets = {} + else: + self.sets = self.setconfig.getSets() self.visible_pkgs = PackageVirtualDbapi(self.settings) def create_world_atom(pkg, args_set, root_config): |