projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10b8ce6
)
Bug #205318 - Handle errno.ENOTDIR thrown from the lstat call
author
Zac Medico
<zmedico@gentoo.org>
Fri, 11 Jan 2008 23:10:38 +0000
(23:10 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 11 Jan 2008 23:10:38 +0000
(23:10 -0000)
inside dblink._security_check(). (trunk r9188)
svn path=/main/branches/2.1.2/; revision=9189
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 60ac5aa9e22b68910592361365b1c3e97ea5b5f9..1ef6602a78c0c000f75329d89f263cb2b250bb52 100644
(file)
--- 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