From 17e5e2867e7aaf200c798c4706a5fce43fe68a8c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 May 2006 06:10:10 +0000 Subject: Properly join CUSTOM_MIRRORS_FILE with PORTAGE_CONFIG_ROOT in portage.fetch(). svn path=/main/trunk/; revision=3302 --- pym/portage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index 135bd6fac..b5da44373 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1851,7 +1851,8 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", check_config_instance(mysettings) - custommirrors=grabdict(CUSTOM_MIRRORS_FILE,recursive=1) + custommirrors = grabdict(os.path.join(mysettings["PORTAGE_CONFIG_ROOT"], + CUSTOM_MIRRORS_FILE.lstrip(os.path.sep)), recursive=1) mymirrors=[] -- cgit v1.2.3-1-g7c22