mercurial/httpclient/socketutil.py
changeset 27601 1ad9da968a2e
parent 25660 328739ea70c3
child 29131 8a66eda46c98
equal deleted inserted replaced
27600:cfb26146a8cd 27601:1ad9da968a2e
    30 
    30 
    31 This will attempt to use the ssl module and the new
    31 This will attempt to use the ssl module and the new
    32 socket.create_connection method, but fall back to the old
    32 socket.create_connection method, but fall back to the old
    33 methods if those are unavailable.
    33 methods if those are unavailable.
    34 """
    34 """
       
    35 from __future__ import absolute_import
       
    36 
    35 import logging
    37 import logging
    36 import socket
    38 import socket
    37 
    39 
    38 logger = logging.getLogger(__name__)
    40 logger = logging.getLogger(__name__)
    39 
    41