Return early from portage.commit_mtimedb() when mtimedb is None.
authorZac Medico <zmedico@gentoo.org>
Sat, 29 Apr 2006 08:11:40 +0000 (08:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 29 Apr 2006 08:11:40 +0000 (08:11 -0000)
svn path=/main/trunk/; revision=3269

pym/portage.py

index 4df39006769428cd73d89a97a1652a988b1eff94..1a4ef23593f0528e350c783dcffb08b60bc1c361 100644 (file)
@@ -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