In portage.commit_mtimedb(), use the commit() method when possible, so that the mtime...
authorZac Medico <zmedico@gentoo.org>
Sat, 16 Sep 2006 07:33:09 +0000 (07:33 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 16 Sep 2006 07:33:09 +0000 (07:33 -0000)
svn path=/main/trunk/; revision=4464

pym/portage.py

index d07363371d412fffd1457fb470c17e0d94f744b9..775fc43856949b26e596bf652830ec5243a833a7 100644 (file)
@@ -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