From: Zac Medico Date: Fri, 22 Oct 2010 20:20:50 +0000 (-0700) Subject: EbuildBuildDir: allow EPERM when removing catdir X-Git-Tag: v2.1.9.22~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b66262b057a5c4574f372bd281982c0e316ecb85;p=portage.git EbuildBuildDir: allow EPERM when removing catdir --- diff --git a/pym/_emerge/EbuildBuildDir.py b/pym/_emerge/EbuildBuildDir.py index ba18269b1..c901fe667 100644 --- a/pym/_emerge/EbuildBuildDir.py +++ b/pym/_emerge/EbuildBuildDir.py @@ -90,7 +90,7 @@ class EbuildBuildDir(SlotObject): os.rmdir(self._catdir) except OSError as e: if e.errno not in (errno.ENOENT, - errno.ENOTEMPTY, errno.EEXIST): + errno.ENOTEMPTY, errno.EEXIST, errno.EPERM): raise finally: catdir_lock.unlock()