diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-12-27 14:47:28 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-12-27 14:54:40 -0800 |
commit | a92ecbc4f59a6ab6ebc124cb8adc4586b9855a2c (patch) | |
tree | cb4158b4f053b41bade59a2796f0108e8a2ba498 /pym | |
parent | 2395ae33c438905a4c3b0e6aa8fa7d31016f7a08 (diff) | |
download | portage-a92ecbc4f59a6ab6ebc124cb8adc4586b9855a2c.tar.gz portage-a92ecbc4f59a6ab6ebc124cb8adc4586b9855a2c.tar.bz2 portage-a92ecbc4f59a6ab6ebc124cb8adc4586b9855a2c.zip |
unmerge: ignore rmdir EPERM from mount point
This will fix bug #349757.
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage/dbapi/vartree.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 863fa19a6..9955cde1d 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1766,7 +1766,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): |