aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/crawler.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/crawler.py')
-rw-r--r--pyaggr3g470r/crawler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/crawler.py b/pyaggr3g470r/crawler.py
index 812c9efe..15ed6bbc 100644
--- a/pyaggr3g470r/crawler.py
+++ b/pyaggr3g470r/crawler.py
@@ -62,7 +62,6 @@ logger = logging.getLogger(__name__)
socket.setdefaulttimeout(5.0)
-
# Hack: Re-add sslwrap to Python 2.7.9
import inspect
__ssl__ = __import__('ssl')
@@ -84,6 +83,7 @@ if not hasattr(_ssl, 'sslwrap'):
caller_self = inspect.currentframe().f_back.f_locals['self']
return context._wrap_socket(sock, server_side=server_side, ssl_sock=caller_self)
_ssl.sslwrap = new_sslwrap
+# End hack
class TooLong(Exception):
bgstack15