summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-21 16:55:14 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-21 16:55:14 +0000
commite4ab433f635c4a3d912e0218dace669f49c27074 (patch)
tree06e4c4c3096a025c87c7ae1b7c28b005aae9ffb4
parent346feda72e1f9347926bc8a423475a01f31b0efd (diff)
downloadportage-e4ab433f635c4a3d912e0218dace669f49c27074.tar.gz
portage-e4ab433f635c4a3d912e0218dace669f49c27074.tar.bz2
portage-e4ab433f635c4a3d912e0218dace669f49c27074.zip
In action_metadata(), properly put the source cache in readonly mode.
svn path=/main/trunk/; revision=9936
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 14626e5bf..84ea00005 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -6265,7 +6265,7 @@ def action_metadata(settings, portdb, myopts):
ec = portage.eclass_cache.cache(portdb.porttree_root)
myportdir = os.path.realpath(settings["PORTDIR"])
cm = settings.load_best_module("portdbapi.metadbmodule")(
- myportdir, "metadata/cache", portage.auxdbkeys[:])
+ myportdir, "metadata/cache", portage.auxdbkeys[:], readonly=True)
from portage.cache import util