Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed unused variable.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5997cb8ad491f250bb0ab6de8f4867af7492aadb 1 parent 8c442f2
Gary Wilson Jr. authored October 31, 2007

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

  1. 1  django/middleware/http.py
1  django/middleware/http.py
@@ -23,7 +23,6 @@ def process_response(self, request, response):
23 23
                 response['Content-Length'] = '0'
24 24
 
25 25
         if response.has_header('Last-Modified'):
26  
-            last_mod = response['Last-Modified']
27 26
             if_modified_since = request.META.get('HTTP_IF_MODIFIED_SINCE', None)
28 27
             if if_modified_since == response['Last-Modified']:
29 28
                 response.status_code = 304

0 notes on commit 5997cb8

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