summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-01-06 23:07:38 +0000
committerZac Medico <zmedico@gentoo.org>2007-01-06 23:07:38 +0000
commit0ce3932c0eba49aca7b98cacc75d78afd1fb9f51 (patch)
treefcc05ef52aa4b682fad1a6376e416ad6e4524dad
parent07f9e3e8637b4b8749cb584fd623c146d10fe214 (diff)
downloadportage-0ce3932c0eba49aca7b98cacc75d78afd1fb9f51.tar.gz
portage-0ce3932c0eba49aca7b98cacc75d78afd1fb9f51.tar.bz2
portage-0ce3932c0eba49aca7b98cacc75d78afd1fb9f51.zip
Don't swallow an IOError if it is thrown from the aux_get call in portdbapi.getfetchlist().
svn path=/main/trunk/; revision=5478
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index c3cad4153..4fdafbd0d 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5722,7 +5722,7 @@ class portdbapi(dbapi):
mysettings = self.mysettings
try:
myuris = self.aux_get(mypkg, ["SRC_URI"], mytree=mytree)[0]
- except (IOError,KeyError):
+ except KeyError:
print red("getfetchlist():")+" aux_get() error reading "+mypkg+"; aborting."
sys.exit(1)