"\n".join(myfavdict.values()))
mtimedb["resume"]["mergelist"]=mymergelist[:]
+ mtimedb.commit()
# We need to yank the harmful-to-new-builds settings from features.
myorigfeat=self.pkgsettings["FEATURES"]
# Commit after each merge so that --resume may still work in
# in the event that portage is not allowed to exit normally
# due to power failure, SIGKILL, etc...
- portage.commit_mtimedb()
+ mtimedb.commit()
emergelog(xterm_titles, " *** Finished. Cleaning up...")
if "resume" not in mtimedb:
mtimedb["resume"] = mtimedb["resume_backup"]
del mtimedb["resume_backup"]
- portage.commit_mtimedb()
+ mtimedb.commit()
myresumeopts=mtimedb["resume"]["myopts"][:]
for opt in ("--skipfirst", "--ask", "--tree"):
len(mtimedb["resume"]["mergelist"]) > 1:
mtimedb["resume_backup"] = mtimedb["resume"]
del mtimedb["resume"]
- portage.commit_mtimedb()
+ mtimedb.commit()
mtimedb["resume"]={}
mtimedb["resume"]["myopts"]=myopts
mtimedb["resume"]["favorites"]=favorites