commit | b66262b057a5c4574f372bd281982c0e316ecb85 | [log] [tgz] |
---|---|---|
author | Zac Medico <zmedico@gentoo.org> | Fri Oct 22 13:20:50 2010 -0700 |
committer | Zac Medico <zmedico@gentoo.org> | Fri Oct 22 13:24:36 2010 -0700 |
tree | 02fe9b2f54e0992d8804c21ae1632921c90b45e7 | |
parent | 96595cc11efa18c6da4c0a7e387ea79c9e7e6b70 [diff] |
EbuildBuildDir: allow EPERM when removing catdir
diff --git a/pym/_emerge/EbuildBuildDir.py b/pym/_emerge/EbuildBuildDir.py index ba18269..c901fe6 100644 --- a/pym/_emerge/EbuildBuildDir.py +++ b/pym/_emerge/EbuildBuildDir.py
@@ -90,7 +90,7 @@ 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()