From bfc1454695029d7d0e126db022c0b0d7a8986a1e Mon Sep 17 00:00:00 2001 From: Danny Navarro Date: Thu, 2 Dec 2010 20:35:43 +0100 Subject: Removed unnecessary whitespaces --- pyramid/wsgi.py | 5 ++--- 1 file 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 - -- cgit v1.2.3