From: Zac Medico Date: Thu, 13 Oct 2011 20:58:16 +0000 (-0700) Subject: digestcheck: handle allow_missing for distfiles X-Git-Tag: v2.2.0_alpha68~62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a27f3f3058fdbdaca2bcb838aca02ffc4e32007a;p=portage.git digestcheck: handle allow_missing for distfiles --- diff --git a/pym/portage/package/ebuild/digestcheck.py b/pym/portage/package/ebuild/digestcheck.py index 067aacca9..3b22b1df6 100644 --- a/pym/portage/package/ebuild/digestcheck.py +++ b/pym/portage/package/ebuild/digestcheck.py @@ -52,6 +52,8 @@ def digestcheck(myfiles, mysettings, strict=False, justmanifest=None, mf=None): eout.ebegin(_("checking %s ;-)") % f) ftype = mf.findFile(f) if ftype is None: + if mf.allow_missing: + continue eout.eend(1) writemsg(_("\n!!! Missing digest for '%s'\n") % (f,), noiselevel=-1)