aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/init
diff options
context:
space:
mode:
authorBrett Smith <brettcsmith@brettcsmith.org>2013-03-24 15:10:08 -0400
committerBrett Smith <brettcsmith@brettcsmith.org>2013-03-24 15:10:08 -0400
commit9e1fa2396fa4d340e3bcf01116cd1e2b6e5dee51 (patch)
tree345e0306a86f196fc1d5c0b4fae5949fad842002 /mediagoblin/init
parent627a721cf6819a118997e3e3f448e89903dacbf2 (diff)
downloadmediagoblin-9e1fa2396fa4d340e3bcf01116cd1e2b6e5dee51.tar.lz
mediagoblin-9e1fa2396fa4d340e3bcf01116cd1e2b6e5dee51.tar.xz
mediagoblin-9e1fa2396fa4d340e3bcf01116cd1e2b6e5dee51.zip
Remove beaker stuff from the code.
This is all obsoleted by It's Dangerous.
Diffstat (limited to 'mediagoblin/init')
-rw-r--r--mediagoblin/init/__init__.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/mediagoblin/init/__init__.py b/mediagoblin/init/__init__.py
index 7c832442..d16027db 100644
--- a/mediagoblin/init/__init__.py
+++ b/mediagoblin/init/__init__.py
@@ -14,8 +14,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-from beaker.cache import CacheManager
-from beaker.util import parse_cache_config_options
import jinja2
from mediagoblin.tools import staticdirect
@@ -146,16 +144,3 @@ def setup_workbench():
workbench_manager = WorkbenchManager(app_config['workbench_path'])
setup_globals(workbench_manager=workbench_manager)
-
-
-def setup_beaker_cache():
- """
- Setup the Beaker Cache manager.
- """
- cache_config = mg_globals.global_config['beaker.cache']
- cache_config = dict(
- [(u'cache.%s' % key, value)
- for key, value in cache_config.iteritems()])
- cache = CacheManager(**parse_cache_config_options(cache_config))
- setup_globals(cache=cache)
- return cache