From: "Zac Medico (zmedico)" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] portage r11767 - main/trunk/pym/portage/dbapi
Date: Fri, 31 Oct 2008 20:40:51 +0000 [thread overview]
Message-ID: <E1Kw0nb-0007dd-Kl@stork.gentoo.org> (raw)
Author: zmedico
Date: 2008-10-31 20:40:51 +0000 (Fri, 31 Oct 2008)
New Revision: 11767
Modified:
main/trunk/pym/portage/dbapi/vartree.py
Log:
Eliminate duplicate code by calling equivalent dblink._clear_contents_cache().
Modified: main/trunk/pym/portage/dbapi/vartree.py
===================================================================
--- main/trunk/pym/portage/dbapi/vartree.py 2008-10-31 20:21:53 UTC (rev 11766)
+++ main/trunk/pym/portage/dbapi/vartree.py 2008-10-31 20:40:51 UTC (rev 11767)
@@ -3295,9 +3295,7 @@
# just been merged.
others_in_slot.append(self) # self has just been merged
for dblnk in others_in_slot:
- dblnk.contentscache = None
- dblnk._contents_inodes = None
- dblnk._contents_basenames = None
+ dblnk._clear_contents_cache()
# If portage is reinstalling itself, remove the old
# version now since we want to use the temporary
reply other threads:[~2008-10-31 20:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Kw0nb-0007dd-Kl@stork.gentoo.org \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox