Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed an 'assert False' I stupidly committed in [12165]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 92568d31b8d871e35e4377d58356065297c76807 1 parent ca6f64a
@adrianholovaty adrianholovaty authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  django/middleware/common.py
View
2  django/middleware/common.py
@@ -34,8 +34,6 @@ def process_request(self, request):
settings.APPEND_SLASH and settings.PREPEND_WWW
"""
- assert False, 1
-
# Check for denied User-Agents
if 'HTTP_USER_AGENT' in request.META:
for user_agent_regex in settings.DISALLOWED_USER_AGENTS:
Please sign in to comment.
Something went wrong with that request. Please try again.