From: Zac Medico Date: Sat, 25 Mar 2006 23:33:46 +0000 (-0000) Subject: Fix traceback for bug #127573. Thanks to illuminata for reporting and antarus for... X-Git-Tag: v2.1_pre8~81 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c82b5cfa6113f997507f61237e685e0bd9065897;p=portage.git Fix traceback for bug #127573. Thanks to illuminata for reporting and antarus for the patch. svn path=/main/trunk/; revision=3006 --- diff --git a/pym/portage.py b/pym/portage.py index 3becb1b9b..6d7952a5b 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -215,7 +215,7 @@ def cacheddir(my_original_path, ignorecvs, ignorelist, EmptyOnError, followSymli if stat.S_ISDIR(pathstat[stat.ST_MODE]): mtime = pathstat[stat.ST_MTIME] else: - raise portage_exception.PortageException + raise portage_exception.DirectoryNotFound(mypath) except (IOError,OSError,portage_exception.PortageException): if EmptyOnError: return [], []