From: Zac Medico Date: Tue, 11 Apr 2006 03:02:53 +0000 (-0000) Subject: Remove the "db" parameter from digestcheck() because it's not needed. X-Git-Tag: v2.1_pre9~45 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b5091637019971ba1ce9eefdb20c0692bca9f041;p=portage.git Remove the "db" parameter from digestcheck() because it's not needed. svn path=/main/trunk/; revision=3123 --- diff --git a/pym/portage.py b/pym/portage.py index 7bcfacfa0..f47cac76e 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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: