def _get_profile_str(session, separator):
    profile_name = session.get_config_variable('profile')
    return 'default' if profile_name is None \
        else 'profile%c%s' % (separator, profile_name)
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/emr/configutils.py/_get_profile_str/original