summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-08 05:11:39 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-08 05:11:39 +0000
commitd15e561fcc241b4a26a56b08c43594cae0c7e849 (patch)
treec0eec63c5e51730fec50ccd8f4ca9d0338ae613b /pym
parent5725199a1a24bef4aca4d1cd09c412ad04e3ec34 (diff)
downloadportage-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
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py2
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"