summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py5
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)