Fix up mtimedb["ldpath"] references broken by the previous commit.
authorZac Medico <zmedico@gentoo.org>
Mon, 4 Dec 2006 22:21:14 +0000 (22:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 4 Dec 2006 22:21:14 +0000 (22:21 -0000)
svn path=/main/trunk/; revision=5174

bin/emerge

index 1c20cc14e0280b4c1e7b20a66055ce0264411b5b..823cbaa2c73c5ce55836ca8223ced609891f91f6 100755 (executable)
@@ -4434,7 +4434,6 @@ def emerge_main():
                settings, trees, mtimedb = load_emerge_config(trees=trees)
                portdb = trees[settings["ROOT"]]["porttree"].dbapi
 
-       ldpath_mtimes = mtimedb["ldpath"]
        xterm_titles = "notitles" not in settings.features
 
        """Disable color as early as possible via NOCOLOR and stdout
@@ -4698,13 +4697,13 @@ def emerge_main():
                validate_ebuild_environment(trees)
                vartree = trees[settings["ROOT"]]["vartree"]
                if 1 == unmerge(settings, myopts, vartree, myaction, myfiles,
-                       ldpath_mtimes, raise_on_missing=False):
+                       mtimedb["ldpath"], raise_on_missing=False):
                        if "--pretend" not in myopts:
                                post_emerge(settings, mtimedb, 0)
 
        elif "depclean"==myaction:
                validate_ebuild_environment(trees)
-               action_depclean(settings, trees, ldpath_mtimes,
+               action_depclean(settings, trees, mtimedb["ldpath"],
                        myopts, spinner)
                if "--pretend" not in myopts:
                        post_emerge(settings, mtimedb, 0)