From 42d8a5dbcdbd73a97942a2c977492999dd4c0d3e Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Fri, 5 Oct 2007 16:40:12 +0000 Subject: [PATCH] ignore missing files svn path=/main/trunk/; revision=7948 --- pym/portage/env/loaders.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/portage/env/loaders.py b/pym/portage/env/loaders.py index 1d0ca01aa..61bb69126 100644 --- a/pym/portage/env/loaders.py +++ b/pym/portage/env/loaders.py @@ -36,8 +36,9 @@ def RecursiveFileLoader(filename): @rtype: list @returns: List of files to process """ - - if os.path.isdir(filename): + if not os.path.exists(filename): + return + elif os.path.isdir(filename): for root, dirs, files in os.walk(filename): if 'CVS' in dirs: dirs.remove('CVS') -- 2.26.2