def _add_to_profiles(line, profiles=[], use_sudo=True):
    if not profiles:
        profiles = ['/etc/bash.bashrc', '/etc/profile']
    for profile in profiles:
        if not env.safe_contains(profile, line):
            env.safe_append(profile, line, use_sudo=use_sudo)
Establish a connection between C{server} and C{client} then transfer data
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/custom/shared.py/_add_to_profiles--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/protocols/loopback.py/loopbackAsync