Ticket #3560: sage-3560-part2.patch

File sage-3560-part2.patch, 744 bytes (added by was, 14 years ago)
  • sage/server/notebook/gnutls_socket_ssl.py

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1215334413 25200
    # Node ID 991f76a15ef37f447d70ddfba619e3c250bb6bfb
    # Parent  048604f582924edf735e67c3b9cf86e239d7a40a
    fix little mistake in #3560 where I left in some debugging code.
    
    diff -r 048604f58292 -r 991f76a15ef3 sage/server/notebook/gnutls_socket_ssl.py
    a b def require_SSL(): 
    3838    If ssl does not already exist in the socket module, supply our gnutls
    3939    version.
    4040    """
    41     if True or not hasattr(socket, "ssl"):
     41    if not hasattr(socket, "ssl"):
    4242        socket.ssl = GnuTLSSocketSSL