From 5997cb8ad491f250bb0ab6de8f4867af7492aadb Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Wed, 31 Oct 2007 04:04:07 +0000 Subject: [PATCH] Removed unused variable. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6635 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/middleware/http.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/middleware/http.py b/django/middleware/http.py index 998fed4332..d080ebcf0f 100644 --- a/django/middleware/http.py +++ b/django/middleware/http.py @@ -23,7 +23,6 @@ class ConditionalGetMiddleware(object): response['Content-Length'] = '0' if response.has_header('Last-Modified'): - last_mod = response['Last-Modified'] if_modified_since = request.META.get('HTTP_IF_MODIFIED_SINCE', None) if if_modified_since == response['Last-Modified']: response.status_code = 304