1 |
Author: zmedico |
2 |
Date: 2009-05-01 18:34:59 +0000 (Fri, 01 May 2009) |
3 |
New Revision: 13578 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/dbapi/porttree.py |
7 |
Log: |
8 |
Fix logic error which prevents repos.conf [DEFAULT] section from applying |
9 |
to repos that don't have their own section. Thanks to Markos Chandras |
10 |
<hwoarang@g.o> for reporting. |
11 |
|
12 |
|
13 |
Modified: main/trunk/pym/portage/dbapi/porttree.py |
14 |
=================================================================== |
15 |
--- main/trunk/pym/portage/dbapi/porttree.py 2009-04-30 22:47:50 UTC (rev 13577) |
16 |
+++ main/trunk/pym/portage/dbapi/porttree.py 2009-05-01 18:34:59 UTC (rev 13578) |
17 |
@@ -227,7 +227,7 @@ |
18 |
if local_repo_configs is not None: |
19 |
if repo_name is not None: |
20 |
loc_repo_conf = local_repo_configs.get(repo_name) |
21 |
- else: |
22 |
+ if loc_repo_conf is None: |
23 |
loc_repo_conf = default_loc_repo_config |
24 |
|
25 |
layout_filename = os.path.join(path, "metadata/layout.conf") |