Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed bug in django.utils.decorators.decorator_from_middleware -- it …

…wasn't raising exceptions. Refs #641

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d35d1f15814c2cf520e2c71a7f483673d0b422a5 1 parent 5cf8f68
Adrian Holovaty authored November 04, 2005

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/utils/decorators.py
2  django/utils/decorators.py
@@ -23,7 +23,7 @@ def _wrapped_view(request, *args, **kwargs):
23 23
                     result = middleware.process_exception(request, e)
24 24
                     if result is not None:
25 25
                         return result
26  
-                raise e
  26
+                raise
27 27
             if hasattr(middleware, 'process_response'):
28 28
                 result = middleware.process_response(request, response)
29 29
                 if result is not None:

0 notes on commit d35d1f1

Please sign in to comment.
Something went wrong with that request. Please try again.