summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Navarro <j@dannynavarro.net>2010-12-02 20:35:43 +0100
committerDanny Navarro <j@dannynavarro.net>2010-12-02 20:35:43 +0100
commitbfc1454695029d7d0e126db022c0b0d7a8986a1e (patch)
treeba53ab5d23f31bf3cd25a067b429e63d68604c13
parent815471bf42ab88c1524755735fbb84126bb65563 (diff)
downloadpyramid-bfc1454695029d7d0e126db022c0b0d7a8986a1e.tar.gz
pyramid-bfc1454695029d7d0e126db022c0b0d7a8986a1e.tar.bz2
pyramid-bfc1454695029d7d0e126db022c0b0d7a8986a1e.zip
Removed unnecessary whitespaces
-rw-r--r--pyramid/wsgi.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyramid/wsgi.py b/pyramid/wsgi.py
index 414526683..89fd120cb 100644
--- a/pyramid/wsgi.py
+++ b/pyramid/wsgi.py
@@ -34,7 +34,7 @@ def wsgiapp(wrapped):
application to a :term:`Response` and return it to
:app:`Pyramid` as if the WSGI app were a :mod:`pyramid`
view.
-
+
"""
def decorator(context, request):
return request.get_response(wrapped)
@@ -74,7 +74,7 @@ def wsgiapp2(wrapped):
the WSGI app were a :app:`Pyramid` view. The ``SCRIPT_NAME``
and ``PATH_INFO`` values present in the WSGI environment are fixed
up before the application is invoked. """
-
+
def decorator(context, request):
traversed = request.traversed
vroot_path = request.virtual_root_path or ()
@@ -94,4 +94,3 @@ def wsgiapp2(wrapped):
request.environ['SCRIPT_NAME'] = script_name
return request.get_response(wrapped)
return wraps(wrapped)(decorator) # grokkability
-