Remove the "db" parameter from digestcheck() because it's not needed.
authorZac Medico <zmedico@gentoo.org>
Tue, 11 Apr 2006 03:02:53 +0000 (03:02 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 11 Apr 2006 03:02:53 +0000 (03:02 -0000)
svn path=/main/trunk/; revision=3123

pym/portage.py

index 7bcfacfa09fc7f9cc99f38d8637e563786f6cb6d..f47cac76edaae5e2c128be51f45963655a86133b 100644 (file)
@@ -2154,14 +2154,12 @@ def digestCheckFiles(myfiles, mydigests, basedir, note="", strict=0):
        return 1
 
 
-def digestcheck(myfiles, mysettings, strict=0, justmanifest=0, db=None):
+def digestcheck(myfiles, mysettings, strict=0, justmanifest=0):
        """Verifies checksums.  Assumes all files have been downloaded.
        DEPRECATED: this is now only a compability wrapper for 
                    portage_manifest.Manifest()."""
        
        pkgdir = mysettings["O"]
-       if db is None:
-               db = portagetree().dbapi
        mf = Manifest(pkgdir, FetchlistDict(pkgdir, mysettings), mysettings["DISTDIR"])
        try:
                if strict: