From: Zac Medico Date: Fri, 22 Oct 2010 20:20:50 +0000 (-0700) Subject: EbuildBuildDir: allow EPERM when removing catdir X-Git-Tag: v2.2.0_alpha1~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b51e0c98b39be6b95de550042d7d9e1c2b6df293;p=portage.git EbuildBuildDir: allow EPERM when removing catdir --- diff --git a/pym/_emerge/EbuildBuildDir.py b/pym/_emerge/EbuildBuildDir.py index 851ba7e32..1da3c93ae 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()