diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-08 05:11:39 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-08 05:11:39 +0000 |
commit | d15e561fcc241b4a26a56b08c43594cae0c7e849 (patch) | |
tree | c0eec63c5e51730fec50ccd8f4ca9d0338ae613b | |
parent | 5725199a1a24bef4aca4d1cd09c412ad04e3ec34 (diff) | |
download | portage-d15e561fcc241b4a26a56b08c43594cae0c7e849.tar.gz portage-d15e561fcc241b4a26a56b08c43594cae0c7e849.tar.bz2 portage-d15e561fcc241b4a26a56b08c43594cae0c7e849.zip |
Bug #225285 - Allow digestcheck() to succeed when the Manifest is missing
and strict mode is disabled.
svn path=/main/trunk/; revision=10604
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 55a5399c9..7f8d96f22 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4042,6 +4042,8 @@ def digestcheck(myfiles, mysettings, strict=0, justmanifest=0): noiselevel=-1) if strict: return 0 + else: + return 1 mf = Manifest(pkgdir, mysettings["DISTDIR"]) eout = portage.output.EOutput() eout.quiet = mysettings.get("PORTAGE_QUIET", None) == "1" |