diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-03-18 02:40:36 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-03-18 02:40:36 +0000 |
commit | 4efb51ccf1a08f329279cfb979d98916d57ed733 (patch) | |
tree | 66357c6865ea59f1709f3ae5f2a2de1f7071a180 | |
parent | bb9cb5f34caea5a6bff83f1ad19c3640a9d8289f (diff) | |
parent | 0803b49e4961c81588795ee47e45eca64f24919d (diff) | |
download | heat-4efb51ccf1a08f329279cfb979d98916d57ed733.tar.gz |
Merge "Create a wsgi factory method for Debug filter."2013.1.rc1
-rw-r--r-- | heat/common/wsgi.py | 4 |
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. |