diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-06-08 05:00:13 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-06-08 05:00:13 +0000 |
| commit | 2abfd5dd586c4f6fb619de561b2194687021e256 (patch) | |
| tree | 51f32f85db5f5fae270924bdf93d2ff3072fc9c2 /django/middleware/gzip.py | |
| parent | 5edd1335b2ae3530bab124b8e9cfb6928a975088 (diff) | |
Fixed #2109 -- Convert old-style classes to new-style classes throughout Django. Thanks, Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/middleware/gzip.py')
| -rw-r--r-- | django/middleware/gzip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/middleware/gzip.py b/django/middleware/gzip.py index 201bec2000..cc8a68406c 100644 --- a/django/middleware/gzip.py +++ b/django/middleware/gzip.py @@ -4,7 +4,7 @@ from django.utils.cache import patch_vary_headers re_accepts_gzip = re.compile(r'\bgzip\b') -class GZipMiddleware: +class GZipMiddleware(object): """ This middleware compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage |
