diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-04-11 02:50:16 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-04-11 02:50:16 +0000 |
commit | eb958ca50ea48948407a20e98984591852e21c0a (patch) | |
tree | fdcb0226defe37a9020a1b4bd947992f43ae5fe8 | |
parent | 2e792d6cca31ec5b65469610cbb004e3fc145995 (diff) | |
download | portage-eb958ca50ea48948407a20e98984591852e21c0a.tar.gz portage-eb958ca50ea48948407a20e98984591852e21c0a.tar.bz2 portage-eb958ca50ea48948407a20e98984591852e21c0a.zip |
Remove the "db" parameter from digestgen() because it's not needed.
svn path=/main/trunk/; revision=3121
-rw-r--r-- | pym/portage.py | 5 |
1 files changed, 1 insertions, 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) |