moksha/middleware/connector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit d2c19f393a6b073b18d007394e8c86ee466315f1 Author: John (J5) Palmieri johnp@redhat.com Date: Thu Mar 12 14:11:58 2009 -0400
make get_connector use the updated connector api
diff --git a/moksha/middleware/connector.py b/moksha/middleware/connector.py index 6ce81c3..b69c2f9 100644 --- a/moksha/middleware/connector.py +++ b/moksha/middleware/connector.py @@ -22,7 +22,7 @@ import simplejson as json import urllib
from webob import Request, Response -from pylons import config +from pylons import config, request from pylons.i18n import ugettext
from moksha.exc import ApplicationNotFound, MokshaException @@ -131,4 +131,4 @@ def _get_connector(name): # TODO: having a connection pool might be nice c = MokshaConnectorMiddleware._connectors[name]
- return c['connector_class']() \ No newline at end of file + return c['connector_class'](request.environ, request) \ No newline at end of file
moksha-commits@lists.fedorahosted.org