@task
def load_db_dump(dump_file):
    """Load db dump on a remote environment."""
    require('environment')
    temp_file = os.path.join(env.home, env % '%(environment)s.sql')
    put(dump_file, temp_file, use_sudo=True)
    sudo('psql -d %s -f %s' % (env.db, temp_file), user=env.project_user)
dataset/ETHPy150Open python/raspberryio/fabfile.py/load_db_dump/swapped operands of `%`