def rsync():
log_green('<STR_LIT>')<EOL>data = load_state_from_disk()<EOL>if '<STR_LIT>' in os.environ:<EOL><INDENT>with lcd(os.environ['<STR_LIT>']):<EOL><INDENT>local("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>" + env.ec2_key_filename + "<STR_LIT>"<EOL>"<STR_LIT>" % (env.user, data['<STR_LIT>']))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>print('<STR_LIT>')<EOL>exit(<NUM_LIT:1>)<EOL><DEDENT>
syncs the src code to the remote box