PEP8 cleanups

This commit is contained in:
Roberto Rosario
2011-04-08 01:31:39 -04:00
parent 61fb876a81
commit 1b6806f7d1
13 changed files with 173 additions and 167 deletions

View File

@@ -1,6 +1,7 @@
# Aliasing it for the sake of page size.
from django.utils.html import strip_spaces_between_tags as short
class SpacelessMiddleware(object):
def process_response(self, request, response):
if 'text/html' in response['Content-Type']: