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 60ac5aa9e..1ef6602a7 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -8636,7 +8636,7 @@ class dblink: try: s = os.lstat(path) except OSError, e: - if e.errno != errno.ENOENT: + if e.errno not in (errno.ENOENT, errno.ENOTDIR): raise del e continue |