From: Zac Medico Date: Fri, 26 May 2006 04:08:50 +0000 (-0000) Subject: Add some additional error handling for OperationNotPermitted and ReadOnlyFileSystem... X-Git-Tag: v2.1~55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2d380bdb907c749da48efe544ae7db81b5d2a719;p=portage.git Add some additional error handling for OperationNotPermitted and ReadOnlyFileSystem exceptions (bug #112612). svn path=/main/trunk/; revision=3418 --- 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"]})