From ea30a50c3b0c32eed3169906a51d16b19cb5793f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 27 Dec 2010 14:47:28 -0800 Subject: [PATCH] unmerge: ignore rmdir EPERM from mount point This will fix bug #349757. --- pym/portage/dbapi/vartree.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 8e3f9bae4..9f75da21b 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1767,7 +1767,8 @@ class dblink(object): ignored_rmdir_errnos = ( errno.EEXIST, errno.ENOTEMPTY, errno.EBUSY, errno.ENOENT, - errno.ENOTDIR, errno.EISDIR) + errno.ENOTDIR, errno.EISDIR, + errno.EPERM) modprotect = os.path.join(self._eroot, "lib/modules/") def unlink(file_name, lstatobj): -- 2.26.2