aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/crawler.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-01-02 19:12:06 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-01-02 19:12:06 +0100
commite8caf7061370785e50b5b008d04ffc90c06c7324 (patch)
tree37cf4e0b32a114a75b76e8fee0750d894f44f048 /pyaggr3g470r/crawler.py
parentHack: Re-add sslwrap to Python 2.7.9. (diff)
downloadnewspipe-e8caf7061370785e50b5b008d04ffc90c06c7324.tar.gz
newspipe-e8caf7061370785e50b5b008d04ffc90c06c7324.tar.bz2
newspipe-e8caf7061370785e50b5b008d04ffc90c06c7324.zip
Updated comment.
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