diff options
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 [], [] |