Don't swallow an IOError if it is thrown from the aux_get call in portdbapi.getfetchl...
authorZac Medico <zmedico@gentoo.org>
Sat, 6 Jan 2007 23:07:38 +0000 (23:07 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 6 Jan 2007 23:07:38 +0000 (23:07 -0000)
svn path=/main/trunk/; revision=5478

pym/portage.py

index c3cad415321dcacd39ed9c3a3a0244430fc99488..4fdafbd0d3a51a3f980f2ec47601227c7f512161 100644 (file)
@@ -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)