diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-10-25 15:52:59 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-10-25 15:52:59 -0700 |
commit | 2843806fad6d0aa07ad4ce97290ebe1d03b00104 (patch) | |
tree | c0baeda8d5182b25504f602440c1e22d134cdc27 /bin | |
parent | e544ee13527a0568de2b556510280ed96fc1b3ff (diff) | |
download | portage-2843806fad6d0aa07ad4ce97290ebe1d03b00104.tar.gz portage-2843806fad6d0aa07ad4ce97290ebe1d03b00104.tar.bz2 portage-2843806fad6d0aa07ad4ce97290ebe1d03b00104.zip |
layout.conf: rename cache_format to cache_formats
We read layout.conf cache-formats from left to right and use the first
supported type that's found. This will allow support for multiple
formats in parallel, providing for smooth transitions between formats.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/egencache | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache index 0d07cdb1b..dec10b1e0 100755 --- a/bin/egencache +++ b/bin/egencache @@ -218,7 +218,8 @@ class GenCache(object): self._trg_cache = conf.get_pregenerated_cache(portage.auxdbkeys[:], force=True, readonly=False) if self._trg_cache is None: - raise Exception("cache format %s isn't supported" % (conf.cache_format,)) + raise Exception("cache formats '%s' aren't supported" % + (" ".join(conf.cache_formats),)) if rsync: self._trg_cache.raise_stat_collision = True try: |