From e4ab433f635c4a3d912e0218dace669f49c27074 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 21 Apr 2008 16:55:14 +0000 Subject: [PATCH] In action_metadata(), properly put the source cache in readonly mode. svn path=/main/trunk/; revision=9936 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2