diff options
-rw-r--r-- | pym/portage_util.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage_util.py b/pym/portage_util.py index bdd934ec3..d318f80c2 100644 --- 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) |