summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-03-18 02:40:36 +0000
committerGerrit Code Review <review@openstack.org>2013-03-18 02:40:36 +0000
commit4efb51ccf1a08f329279cfb979d98916d57ed733 (patch)
tree66357c6865ea59f1709f3ae5f2a2de1f7071a180
parentbb9cb5f34caea5a6bff83f1ad19c3640a9d8289f (diff)
parent0803b49e4961c81588795ee47e45eca64f24919d (diff)
downloadheat-2013.1.rc1.tar.gz
Merge "Create a wsgi factory method for Debug filter."2013.1.rc1
-rw-r--r--heat/common/wsgi.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/heat/common/wsgi.py b/heat/common/wsgi.py
index 74183c503..7ce8d7a8d 100644
--- a/heat/common/wsgi.py
+++ b/heat/common/wsgi.py
@@ -343,6 +343,10 @@ class Debug(Middleware):
print
+def debug_filter(app, conf, **local_conf):
+ return Debug(app)
+
+
class Router(object):
"""
WSGI middleware that maps incoming requests to WSGI apps.