Bug #225285 - Allow digestcheck() to succeed when the Manifest is missing
authorZac Medico <zmedico@gentoo.org>
Sun, 8 Jun 2008 05:11:39 +0000 (05:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 8 Jun 2008 05:11:39 +0000 (05:11 -0000)
and strict mode is disabled.

svn path=/main/trunk/; revision=10604

pym/portage/__init__.py

index 55a5399c93b1995abfd80e7d70201e95ba027c27..7f8d96f22cdc6a1f2ce1144d76d23b9dc70609af 100644 (file)
@@ -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"