Bug #225285 - Allow digestcheck() to succeed when the Manifest is missing
authorZac Medico <zmedico@gentoo.org>
Mon, 9 Jun 2008 15:13:35 +0000 (15:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 9 Jun 2008 15:13:35 +0000 (15:13 -0000)
and strict mode is disabled. (trunk r10604)

svn path=/main/branches/2.1.2/; revision=10619

pym/portage.py

index 1454c520d59f0c60e71bd8ec99d6b5450e281820..2a5f292573b10f5db06a6b0dd219fe7099fc52ad 100644 (file)
@@ -4052,6 +4052,8 @@ def digestcheck(myfiles, mysettings, strict=0, justmanifest=0):
                        noiselevel=-1)
                if strict:
                        return 0
+               else:
+                       return 1
        mf = Manifest(pkgdir, mysettings["DISTDIR"])
        eout = output.EOutput()
        eout.quiet = mysettings.get("PORTAGE_QUIET", None) == "1"