summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index d07363371..775fc4385 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6573,7 +6573,8 @@ def commit_mtimedb(mydict=None, filename=None):
global mtimedb
if "mtimedb" not in globals() or mtimedb is None:
return
- mydict = mtimedb
+ mtimedb.commit()
+ return
if filename is None:
global mtimedbfile
filename = mtimedbfile