def _write_branch_and_tag_to_meta_yaml(self):
<EOL>with open(self.meta_yaml.replace("<STR_LIT>", "<STR_LIT>"), '<STR_LIT:r>') as infile:<EOL><INDENT>dat = infile.read()<EOL>newdat = dat.format(**{'<STR_LIT>': self.tag, '<STR_LIT>': self.branch})<EOL><DEDENT>with open(self.meta_yaml, '<STR_LIT:w>') as outfile:<EOL><INDENT>outfile.write(newdat)<EOL><DEDENT>
Write branch and tag to meta.yaml by editing in place