From: Zac Medico Date: Sun, 17 Jul 2011 00:32:10 +0000 (-0700) Subject: EbuildFetcher: handle FileNotFound X-Git-Tag: v2.2.0_alpha46~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5fd5fb57019bdf7ece0a0156e3feb4bda3da35a5;p=portage.git EbuildFetcher: handle FileNotFound --- 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