summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py2
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