From: Zac Medico Date: Thu, 7 Jul 2011 07:00:04 +0000 (-0700) Subject: digestcheck: more allow-missing-manifests X-Git-Tag: v2.2.0_alpha44~53 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b3d25914355a95e571ca8778058b268120ae17b3;p=portage.git digestcheck: more allow-missing-manifests --- diff --git a/pym/portage/package/ebuild/digestcheck.py b/pym/portage/package/ebuild/digestcheck.py index e4432f186..9354bfe45 100644 --- a/pym/portage/package/ebuild/digestcheck.py +++ b/pym/portage/package/ebuild/digestcheck.py @@ -32,6 +32,8 @@ def digestcheck(myfiles, mysettings, strict=False, justmanifest=None): pkgdir = mysettings["O"] manifest_path = os.path.join(pkgdir, "Manifest") if not os.path.exists(manifest_path): + if allow_missing: + return 1 writemsg(_("!!! Manifest file not found: '%s'\n") % manifest_path, noiselevel=-1) if strict: