projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00c77b1
)
Only ignore ENOENT in getconfig() so that more important errors don't go unnoticed.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 31 Jul 2006 02:11:14 +0000
(
02:11
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 31 Jul 2006 02:11:14 +0000
(
02:11
-0000)
svn path=/main/trunk/; revision=4052
pym/portage_util.py
patch
|
blob
|
history
diff --git
a/pym/portage_util.py
b/pym/portage_util.py
index bdd934ec3baefe378c0b07b778fb2b195d31e3b9..d318f80c27cd0e004aef40b54054a930bf36479a 100644
(file)
--- a/
pym/portage_util.py
+++ b/
pym/portage_util.py
@@
-231,7
+231,9
@@
def getconfig(mycfg,tolerant=0,allow_sourcing=False):
mykeys={}
try:
f=open(mycfg,'r')
- except IOError:
+ except IOError, e:
+ if e.errno != errno.ENOENT:
+ raise
return None
try:
lex=shlex.shlex(f)