diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-06-12 21:33:16 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-06-12 21:33:16 +0000 |
commit | 20850d4640b7fa8f6ac12473717f9f750d92e7f9 (patch) | |
tree | 76da37cb3ba65ae9cb965c7830a872ea23cd4b87 /pym/portage.py | |
parent | 975f0a7c86743553b9479b1f88d5135b2f138f61 (diff) | |
download | portage-20850d4640b7fa8f6ac12473717f9f750d92e7f9.tar.gz portage-20850d4640b7fa8f6ac12473717f9f750d92e7f9.tar.bz2 portage-20850d4640b7fa8f6ac12473717f9f750d92e7f9.zip |
Remove some useless dircache code. (trunk r6818)
svn path=/main/branches/2.1.2/; revision=6819
Diffstat (limited to 'pym/portage.py')
-rw-r--r-- | pym/portage.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pym/portage.py b/pym/portage.py index 8d972c7a9..2bb76a2bc 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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 |