Removed an unused function definition.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Paul McMillan 2011-09-18 21:33:14 +00:00
parent 436aeb6e15
commit d15ef4532e
1 changed files with 0 additions and 1 deletions

View File

@ -123,7 +123,6 @@ class URLValidator(RegexValidator):
else:
handlers.append(urllib2.HTTPSHandler())
map(opener.add_handler, handlers)
opener.http_error_301 = lambda: True
if platform.python_version_tuple() >= (2, 6):
opener.open(req, timeout=10)
else: