summaryrefslogtreecommitdiffstats
path: root/install/share/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'install/share/wsgi.py')
-rw-r--r--install/share/wsgi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/share/wsgi.py b/install/share/wsgi.py
index b61b919da..9f7d3f487 100644
--- a/install/share/wsgi.py
+++ b/install/share/wsgi.py
@@ -1,6 +1,7 @@
# Authors:
# Rob Crittenden <rcritten@redhat.com>
# Jason Gerard DeRose <jderose@redhat.com>
+# John Dennis <jdennis@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
@@ -45,6 +46,6 @@ else:
# This is the WSGI callable:
def application(environ, start_response):
if not environ['wsgi.multithread']:
- return api.Backend.session(environ, start_response)
+ return api.Backend.wsgi_dispatch(environ, start_response)
else:
api.log.error("IPA does not work with the threaded MPM, use the pre-fork MPM")