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:
parent
436aeb6e15
commit
d15ef4532e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue