Remove some useless dircache code. (trunk r6818)
authorZac Medico <zmedico@gentoo.org>
Tue, 12 Jun 2007 21:33:16 +0000 (21:33 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 12 Jun 2007 21:33:16 +0000 (21:33 -0000)
svn path=/main/branches/2.1.2/; revision=6819

pym/portage.py

index 8d972c7a9a4ad419725a2e8c888c710b7cd5c1f8..2bb76a2bc8e953b6c3f879fdee1add9f427ff4a1 100644 (file)
@@ -7154,8 +7154,6 @@ class dblink:
                @type new_contents: Dictionary
                @rtype: None
                """
-               global dircache
-               dircache={}
 
                if not pkgfiles:
                        writemsg_stdout("No package files given... Grabbing a set.\n")
@@ -7688,10 +7686,7 @@ class dblink:
                env_update(makelinks=(not downgrade),
                        target_root=self.settings["ROOT"], prev_mtimes=prev_mtimes,
                        contents=contents, env=self.settings.environ())
-               #dircache may break autoclean because it remembers the -MERGING-pkg file
-               global dircache
-               if dircache.has_key(self.dbcatdir):
-                       del dircache[self.dbcatdir]
+
                writemsg_stdout(">>> %s %s\n" % (self.mycpv,"merged."))
 
                # Process ebuild logfiles