moksha/wsgiapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d92129d154f1d9788bda5fc8357484d03cbf6cac Author: Luke Macken lmacken@redhat.com Date: Fri Feb 6 00:45:44 2009 -0500
Don't import the Moksha root controller until our tg.config is parsed and loaded
diff --git a/moksha/wsgiapp.py b/moksha/wsgiapp.py index 6d74781..5003877 100644 --- a/moksha/wsgiapp.py +++ b/moksha/wsgiapp.py @@ -19,7 +19,6 @@ from pylons.wsgiapp import PylonsApp
import moksha -from moksha.controllers.root import RootController
class MokshaAppDispatcher(PylonsApp): """ Moksha WSGI Application Dispatcher. @@ -30,6 +29,7 @@ class MokshaAppDispatcher(PylonsApp): """ def __init__(self, *args, **kw): super(MokshaAppDispatcher, self).__init__(*args, **kw) + from moksha.controllers.root import RootController self.root = RootController()
def resolve(self, environ, start_response):
moksha-commits@lists.fedorahosted.org