Diff of /Allura/allura/websetup/schema.py [e16326] .. [1f90c6]  Maximize  Restore

Switch to side-by-side view

--- a/Allura/allura/websetup/schema.py
+++ b/Allura/allura/websetup/schema.py
@@ -4,15 +4,15 @@
 import logging
 from tg import config
 import pylons
-from allura.lib.custom_middleware import MagicalC, environ
 log = logging.getLogger(__name__)
 def setup_schema(command, conf, vars):
     """Place any commands to setup allura here"""
     import ming
-    environ.set_environment({})
-    pylons.c._push_object(MagicalC(EmptyClass(), environ))
+    import allura
+    pylons.c._push_object(EmptyClass())
+    allura.credentials._push_object(allura.lib.security.Credentials())
     from allura import model
     # Nothing to do

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks