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
This commit is contained in:
Adrian Holovaty 2010-01-10 17:37:48 +00:00
parent ca6f64a43f
commit 92568d31b8
1 changed files with 0 additions and 2 deletions

View File

@ -34,8 +34,6 @@ class CommonMiddleware(object):
settings.APPEND_SLASH and settings.PREPEND_WWW settings.APPEND_SLASH and settings.PREPEND_WWW
""" """
assert False, 1
# Check for denied User-Agents # Check for denied User-Agents
if 'HTTP_USER_AGENT' in request.META: if 'HTTP_USER_AGENT' in request.META:
for user_agent_regex in settings.DISALLOWED_USER_AGENTS: for user_agent_regex in settings.DISALLOWED_USER_AGENTS: