From: Zac Medico Date: Sat, 29 Apr 2006 08:11:40 +0000 (-0000) Subject: Return early from portage.commit_mtimedb() when mtimedb is None. X-Git-Tag: v2.1_pre10~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=57e7644209e9a1a08eddadd43597d7bbbe415e5c;p=portage.git Return early from portage.commit_mtimedb() when mtimedb is None. svn path=/main/trunk/; revision=3269 --- 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