summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-11 03:02:53 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-11 03:02:53 +0000
commitb5091637019971ba1ce9eefdb20c0692bca9f041 (patch)
tree3871f218601b3c67035602bc478f0b90cb089d76
parentc44d14cb21db43144799cb6a8607fc7aafaf07fa (diff)
downloadportage-b5091637019971ba1ce9eefdb20c0692bca9f041.tar.gz
portage-b5091637019971ba1ce9eefdb20c0692bca9f041.tar.bz2
portage-b5091637019971ba1ce9eefdb20c0692bca9f041.zip
Remove the "db" parameter from digestcheck() because it's not needed.
svn path=/main/trunk/; revision=3123
-rw-r--r--pym/portage.py4
1 files changed, 1 insertions, 3 deletions
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: