From acf30bf50b7260c2f004226fe9b0e3f0ea1f701c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 6 Sep 2006 17:04:36 +0000 Subject: Allow env_update to work if there are broken symlinks in /etc/env.d/. See bug #146412. svn path=/main/trunk/; revision=4416 --- pym/portage.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pym/portage.py') diff --git a/pym/portage.py b/pym/portage.py index f94870b87..ef6f32c9c 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -501,8 +501,9 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None): del e continue if myconfig is None: - # file removed by a concurrent process - raise portage_exception.FileNotFound(file_path) + # broken symlink or file removed by a concurrent process + writemsg("!!! File Not Found: '%s'\n" % file_path, noiselevel=-1) + continue # process PATH, CLASSPATH, LDPATH for myspec in specials.keys(): if myconfig.has_key(myspec): -- cgit v1.2.3-1-g7c22