Show More
@@ -110,7 +110,8 def query_callable(manager): | |||||
110 |
|
110 | |||
111 | def get_cache_region(name, region): |
|
111 | def get_cache_region(name, region): | |
112 |
|
|
112 | if region not in beaker.cache.cache_regions: | |
113 |
|
|
113 | raise BeakerException('Cache region not configured: %s' | |
|
114 | 'Check if proper cache settings are in the .ini files' % region) | |||
114 |
|
|
115 | kw = beaker.cache.cache_regions[region] | |
115 |
|
|
116 | return beaker.cache.Cache._get_cache(name, kw) | |
116 |
|
|
117 |
General Comments 0
You need to be logged in to leave comments.
Login now