diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-07-30 07:33:48 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-07-30 07:33:48 +0000 |
commit | 3be206e9474b24aa8ad4889daa802ea1cbd1a73d (patch) | |
tree | ffbd27d560f07fb9223488106729de15805e9bd1 | |
parent | Make dblink invalidate the vardbapi caches for each merge and unmerge. Don't... (diff) | |
download | portage-multirepo-3be206e9474b24aa8ad4889daa802ea1cbd1a73d.tar.gz portage-multirepo-3be206e9474b24aa8ad4889daa802ea1cbd1a73d.tar.bz2 portage-multirepo-3be206e9474b24aa8ad4889daa802ea1cbd1a73d.zip |
Remove some useless dircache code. (branches/2.1.2 r6819)
svn path=/main/branches/2.1.2.9/; revision=7515
-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 6bb5e143..fcb50d43 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -7211,8 +7211,6 @@ class dblink: @type pkgfiles: Dictionary { filename: [ 'type', '?', 'md5sum' ] } @rtype: None """ - global dircache - dircache={} if not pkgfiles: writemsg_stdout("No package files given... Grabbing a set.\n") @@ -7715,10 +7713,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 |