From 57e7644209e9a1a08eddadd43597d7bbbe415e5c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 29 Apr 2006 08:11:40 +0000 Subject: [PATCH] Return early from portage.commit_mtimedb() when mtimedb is None. svn path=/main/trunk/; revision=3269 --- pym/portage.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2