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:
parent
ca6f64a43f
commit
92568d31b8
|
@ -34,8 +34,6 @@ class CommonMiddleware(object):
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue