summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-05-01 18:35:59 +0000
committerZac Medico <zmedico@gentoo.org>2009-05-01 18:35:59 +0000
commitee93a7d0c9265f6a19c131f41beab7ebde041d59 (patch)
treefacf35e98e4a8f578ed7de46e5fac9142113c033
parentDisable ACCEPT_LICENSE license group expansion and related code since license (diff)
downloadportage-multirepo-ee93a7d0c9265f6a19c131f41beab7ebde041d59.tar.gz
portage-multirepo-ee93a7d0c9265f6a19c131f41beab7ebde041d59.tar.bz2
portage-multirepo-ee93a7d0c9265f6a19c131f41beab7ebde041d59.zip
Fix logic error which prevents repos.conf [DEFAULT] section from applying
to repos that don't have their own section. Thanks to Markos Chandras <hwoarang@g.o> for reporting. (trunk r13578) svn path=/main/branches/2.1.6/; revision=13579
-rw-r--r--pym/portage/dbapi/porttree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 318d00c1..2fc55ccc 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -227,7 +227,7 @@ class portdbapi(dbapi):
if local_repo_configs is not None:
if repo_name is not None:
loc_repo_conf = local_repo_configs.get(repo_name)
- else:
+ if loc_repo_conf is None:
loc_repo_conf = default_loc_repo_config
layout_filename = os.path.join(path, "metadata/layout.conf")