def create_proxy_user_for_cluster(cluster):
    if cluster.cluster_configs.get('proxy_configs'):
        return cluster
    username = 'cluster_{0}'.format(cluster.id)
    password = key_manager.store_secret(proxy_user_create(username))
    current_user = k.auth()
    proxy_user = k.auth_for_proxy(username, password)
    trust_id = t.create_trust(trustor=current_user,
                              trustee=proxy_user,
                              role_names=CONF.proxy_user_role_names)
    update = {'cluster_configs': cluster.cluster_configs.to_dict()}
    update['cluster_configs']['proxy_configs'] = {
        'proxy_username': username,
        'proxy_password': password,
        'proxy_trust_id': trust_id
        }
    return conductor.cluster_update(context.ctx(), cluster, update)
JCR: The last line should have a newline.
dataset/ETHPy150Open openstack/sahara/sahara/utils/proxy.py/create_proxy_user_for_cluster--crossover with--dataset/ETHPy150Open kivy/plyer/plyer/tools/pep8checker/pep8.py/missing_newline