diff options
Diffstat (limited to 'pym/portage/repository/config.py')
-rw-r--r-- | pym/portage/repository/config.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index a67e7f138..cf268f825 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -136,9 +136,13 @@ class RepoConfig(object): format = 'pms' if format == 'pms': from portage.cache.metadata import database + name = 'metadata/cache' + elif format == 'md5-dict': + from portage.cache.flat_hash import md5_database as database + name = 'metadata/md5-cache' else: return None - return database(self.location, 'metadata/cache', + return database(self.location, name, auxdbkeys, readonly=readonly) def load_manifest(self, *args, **kwds): |