Permalink
Browse files

Altered [3778] change to match our coding/text style (django.middlewa…

…re.common)

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 40aa0ca commit 33a9a8f21ae6a752f64498eb08d737ece089ff5a @adrianholovaty adrianholovaty committed Sep 25, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/middleware/common.py
@@ -64,9 +64,9 @@ def process_response(self, request, response):
is_internal = referer and (domain in referer)
path = request.get_full_path()
if referer and not _is_ignorable_404(path) and (is_internal or '?' not in referer):
- ua = request.META.get('HTTP_USER_AGENT','<none>')
+ ua = request.META.get('HTTP_USER_AGENT', '<none>')
mail_managers("Broken %slink on %s" % ((is_internal and 'INTERNAL ' or ''), domain),
- "Referrer: %s\nRequested URL: %s\nUser Agent: %s\n" % (referer, request.get_full_path(), ua))
+ "Referrer: %s\nRequested URL: %s\nUser agent: %s\n" % (referer, request.get_full_path(), ua))
return response
# Use ETags, if requested.

0 comments on commit 33a9a8f

Please sign in to comment.