From 0ce3932c0eba49aca7b98cacc75d78afd1fb9f51 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 6 Jan 2007 23:07:38 +0000 Subject: [PATCH] Don't swallow an IOError if it is thrown from the aux_get call in portdbapi.getfetchlist(). svn path=/main/trunk/; revision=5478 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2