summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/EbuildFetcher.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/_emerge/EbuildFetcher.py b/pym/_emerge/EbuildFetcher.py
index 403bb4585..32d1ccfa3 100644
--- a/pym/_emerge/EbuildFetcher.py
+++ b/pym/_emerge/EbuildFetcher.py
@@ -82,6 +82,9 @@ class EbuildFetcher(SpawnProcess):
if not ok:
success = False
break
+ except portage.exception.FileNotFound:
+ # A file disappeared unexpectedly.
+ return False
finally:
sys.stdout = stdout_orig
sys.stderr = stderr_orig