From: Zac Medico Date: Sat, 6 Jan 2007 23:07:38 +0000 (-0000) Subject: Don't swallow an IOError if it is thrown from the aux_get call in portdbapi.getfetchl... X-Git-Tag: v2.1.2~148 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0ce3932c0eba49aca7b98cacc75d78afd1fb9f51;p=portage.git Don't swallow an IOError if it is thrown from the aux_get call in portdbapi.getfetchlist(). svn path=/main/trunk/; revision=5478 --- 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)