From eb958ca50ea48948407a20e98984591852e21c0a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 11 Apr 2006 02:50:16 +0000 Subject: [PATCH] Remove the "db" parameter from digestgen() because it's not needed. svn path=/main/trunk/; revision=3121 --- pym/portage.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 0c0fe13fe..8b6613467 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2059,7 +2059,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", return 0 return 1 -def digestgen(myarchives,mysettings,db=None,overwrite=1,manifestonly=0): +def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0): """generates digest file if missing. Assumes all files are available. If overwrite=0, the digest will only be created if it doesn't already exist. DEPRECATED: this now only is a compability wrapper for @@ -2070,9 +2070,6 @@ def digestgen(myarchives,mysettings,db=None,overwrite=1,manifestonly=0): # (e.g. cvs stuff should be in ebuild(1) and/or repoman) # TODO: error/exception handling - if db is None: - db = portagetree().dbapi - global settings mf = Manifest(mysettings["O"], FetchlistDict(mysettings["O"], mysettings), mysettings["DISTDIR"]) mf.create(assumeDistfileHashes=True) -- 2.26.2