froide_fax/fax.py
def patch_requests_only_ipv4():
    """
    Patch requests to force use of IPv4
    """

    original_func = urllib3_cn.allowed_gai_family
    urllib3_cn.allowed_gai_family = lambda: socket.AF_INET
    yield
    urllib3_cn.allowed_gai_family = original_func

    Patch requests to force use of IPv4
    
Patch requests to force use of IPv4
Patch requests to force use of IPv4
def patch_requests_only_ipv4():
    original_func = urllib3_cn.allowed_gai_family
    urllib3_cn.allowed_gai_family = lambda: socket.AF_INET
    yield
    urllib3_cn.allowed_gai_family = original_func
def patch_requests_only_ipv4 ( ) : original_func = urllib3_cn . allowed_gai_family urllib3_cn . allowed_gai_family = lambda : socket . AF_INET yield urllib3_cn . allowed_gai_family = original_func
Patch requests to force use of IPv4
Patch requests to force use of IPv4
"""
    Patch requests to force use of IPv4
    """