changeset 913:10a358208aba storage-ng

use the content backend directly until router works correct
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 01 Oct 2011 22:45:05 +0200
parents 751e70074df4
children 7d8785cd04b7
files MoinMoin/app.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/app.py	Sat Oct 01 17:28:45 2011 +0200
+++ b/MoinMoin/app.py	Sat Oct 01 22:45:05 2011 +0200
@@ -171,6 +171,7 @@
     if app.cfg.create_storage:
         app.router.create()
     app.router.open()
+    app.router = app.router._get_backend('')[0] # XXX hack until router works correctly
     app.storage = indexing.IndexingMiddleware(app.cfg.index_dir, app.router,
                                               wiki_name=app.cfg.interwikiname,
                                               acl_rights_contents=app.cfg.acl_rights_contents)