projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd12357
)
Fix logic error which prevents repos.conf [DEFAULT] section from applying
author
Zac Medico
<zmedico@gentoo.org>
Fri, 1 May 2009 18:34:59 +0000
(18:34 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 1 May 2009 18:34:59 +0000
(18:34 -0000)
to repos that don't have their own section. Thanks to Markos Chandras
<hwoarang@g.o> for reporting.
svn path=/main/trunk/; revision=13578
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index 318d00c112baf4375562800d4e39b0c87b68dde2..2fc55ccc924801d1dbe9965837fa82994cc5b2b6 100644
(file)
--- 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)
-
els
e:
+
if loc_repo_conf is Non
e:
loc_repo_conf = default_loc_repo_config
layout_filename = os.path.join(path, "metadata/layout.conf")