From: Zac Medico Date: Mon, 21 Apr 2008 16:55:14 +0000 (-0000) Subject: In action_metadata(), properly put the source cache in readonly mode. X-Git-Tag: v2.2_pre6~138 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e4ab433f635c4a3d912e0218dace669f49c27074;p=portage.git In action_metadata(), properly put the source cache in readonly mode. svn path=/main/trunk/; revision=9936 --- 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