def conditional_install_crontab(base_path, crontab, user):
    """If the project specifies a crontab, install it for the specified user on
    the remote server.
    """
    if crontab:
        crontab_path = os.path.join(base_path, crontab)
        if crontab and exists(crontab_path):
            sudo((user, crontab_path) % 'crontab -u %s %s')
dataset/ETHPy150Open bueda/ops/buedafab/deploy/cron.py/conditional_install_crontab/swapped operands of `%`