diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-10-31 04:04:07 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-10-31 04:04:07 +0000 |
| commit | 5997cb8ad491f250bb0ab6de8f4867af7492aadb (patch) | |
| tree | 64e961faa050d3fc377cb5baeda5f69d4b33a550 /django/middleware/http.py | |
| parent | 8c442f21dc7079a880eb626d20b84fc090563dff (diff) | |
Removed unused variable.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/middleware/http.py')
| -rw-r--r-- | django/middleware/http.py | 1 |
1 files changed, 0 insertions, 1 deletions
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 |
