From 872b03870d21595abe64f5e558a82aa8a0b37797 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 27 Sep 2007 19:24:03 +0000 Subject: [PATCH] Ignore ENOTDIR from unmerge unlink calls. (trunk r7856) svn path=/main/branches/2.1.2/; revision=7857 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index ef8c55893..14d3e60d0 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -7468,7 +7468,7 @@ class dblink: #process symlinks second-to-last, directories last. mydirs = [] - ignored_unlink_errnos = (errno.ENOENT, errno.EISDIR) + ignored_unlink_errnos = (errno.ENOENT, errno.ENOTDIR, errno.EISDIR) modprotect = os.path.join(self.vartree.root, "lib/modules/") def unlink(file_name, lstatobj): -- 2.26.2