From: Zac Medico Date: Mon, 21 Apr 2008 16:56:04 +0000 (-0000) Subject: In action_metadata(), properly put the source cache in readonly mode. X-Git-Tag: v2.1.5~155 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e3f1ec30298450fff790dd270138198265463f65;p=portage.git In action_metadata(), properly put the source cache in readonly mode. (trunk r9936) svn path=/main/branches/2.1.2/; revision=9937 --- diff --git a/bin/emerge b/bin/emerge index 2602c754c..85160bc40 100755 --- a/bin/emerge +++ b/bin/emerge @@ -6279,7 +6279,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) import cache.util