summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 00d87dbd6..dc8f2c0b7 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2073,6 +2073,7 @@ def digestgen(myarchives,mysettings,db=None,overwrite=1,manifestonly=0):
db = portagetree().dbapi
mf = Manifest(mysettings["O"], db, mysettings)
+ mf.create(assumeDistfileHashes=True)
for f in myarchives:
# the whole type evaluation is only for the case that myarchives isn't a
# DIST file as create() determines the type on its own
@@ -2085,7 +2086,6 @@ def digestgen(myarchives,mysettings,db=None,overwrite=1,manifestonly=0):
if myrealtype != None:
mytype = myrealtype
writemsg(">>> Creating Manifest for %s\n" % mysettings["O"])
- mf.create(assumeDistfileHashes=True)
try:
writemsg(">>> Adding digests for file %s\n" % f)
mf.updateFileHashes(mytype, f, checkExisting=False, reuseExisting=not os.path.exists(os.path.join(mysettings["DISTDIR"], f)))