summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 4df390067..1a4ef2359 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6603,6 +6603,8 @@ def parse_updates(mycontent):
def commit_mtimedb(mydict=None, filename=None):
if mydict is None:
global mtimedb
+ if mtimedb is None:
+ return
mydict = mtimedb
if filename is None:
global mtimedbfile