From 2d380bdb907c749da48efe544ae7db81b5d2a719 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 26 May 2006 04:08:50 +0000 Subject: [PATCH] Add some additional error handling for OperationNotPermitted and ReadOnlyFileSystem exceptions (bug #112612). svn path=/main/trunk/; revision=3418 --- pym/portage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/portage.py b/pym/portage.py index 761e14ed8..ff4ab9303 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1928,6 +1928,8 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", mode=0664, mask=02) except portage_exception.FileNotFound: pass + except portage_exception.PortageException, e: + writemsg("%s\n" % str(e), noiselevel=-1) except (OSError,IOError),e: # file does not exist writemsg(_("!!! %(file)s not found in %(dir)s\n") % {"file":myfile, "dir":mysettings["DISTDIR"]}) -- 2.26.2