Mercurial > kallithea
changeset 1032:2e9f2bd28143 beta
fixed add cache defaults missing data_dir
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 12 Feb 2011 13:56:28 +0100 |
parents | d1009f6bbc9c |
children | e2ebbb27df4e |
files | rhodecode/lib/utils.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/utils.py Fri Feb 11 15:25:29 2011 +0100 +++ b/rhodecode/lib/utils.py Sat Feb 12 13:56:28 2011 +0100 @@ -506,6 +506,9 @@ 60)) region_settings.setdefault('lock_dir', cache_settings.get('lock_dir')) + region_settings.setdefault('data_dir', + cache_settings.get('data_dir')) + if 'type' not in region_settings: region_settings['type'] = cache_settings.get('type', 'memory')