projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a78dd5
)
Inside vardbapi.removeFromContents(), automatically clear the contents cache
author
Zac Medico
<zmedico@gentoo.org>
Sun, 9 Nov 2008 09:21:49 +0000
(09:21 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 9 Nov 2008 09:21:49 +0000
(09:21 -0000)
of the dblink instance in case an existing one was passed in.
svn path=/main/trunk/; revision=11833
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 1fd00176150f0d9a3058895b6e79277ccf83e5f8..4930d3b9a7670d6f31a126be8f3564e9f4e3fee8 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-1305,6
+1305,7
@@
class vardbapi(dbapi):
f = atomic_ofstream(os.path.join(pkg.dbdir, "CONTENTS"))
write_contents(new_contents, root, f)
f.close()
+ pkg._clear_contents_cache()
class _owners_cache(object):
"""